Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add scripts from aleister

+68
+5
scripts/fix-ghostty-terminfo
··· 1 + #/usr/bin/env rc 2 + 3 + host=$1 4 + 5 + infocmp -x | ssh $host -- tic -x -
+13
scripts/nd
··· 1 + #!/usr/bin/env rc 2 + 3 + flag e + 4 + flag x + 5 + 6 + flake=. 7 + 8 + if(~ $1 --flake) { 9 + flake=$2 10 + shift 2 11 + } 12 + 13 + exec nix develop -c $SHELL -- $*
+4
scripts/oclip
··· 1 + #!/usr/bin/env rc 2 + flag e + 3 + data=`{base64 <[0=0]} 4 + printf '\033]52;c;%s\007' $"data
+31
scripts/resolve.rcsh
··· 1 + #!/usr/bin/env rc 2 + 3 + flag e + 4 + 5 + gitroot=`{git rev-parse --show-toplevel} 6 + 7 + if(~ $1 -x --debug) { 8 + flag x + 9 + shift 10 + } 11 + 12 + if(~ $* ()) { 13 + conflicted=`{git ls-files -u $gitroot | cut -f2 | uniq} 14 + } else { 15 + conflicted=$* 16 + } 17 + 18 + echo Conflicted files: $conflicted >[1=2] 19 + 20 + for (file in $conflicted) { 21 + prompt=(Do you want to add $file to the index? (y/n): ' ') 22 + echo Editing $file 23 + # Edit the file 24 + $EDITOR $file 25 + # Prompt for if we want to add it 26 + read -p $"prompt response; #" 27 + if (~ $response y Y) { 28 + git add $file 29 + } 30 + } 31 +
+3
scripts/rust-rover
··· 1 + #!/usr/bin/env rc 2 + 3 + open $HOME/Applications/RustRover.app/
+12
scripts/s
··· 1 + #!/usr/bin/env rc 2 + 3 + flag e + 4 + 5 + server=`{cat $home/.ssh/config | awk '/^ +Host / { print $2}' | fzf} 6 + 7 + if(~ $server ()) { 8 + echo No server selected 9 + exit 0 10 + } 11 + 12 + ssh $server $*