Consolidated fish functions into literate config and solved some logistic issues..

This commit is contained in:
Phil Bajsicki 2023-08-13 02:32:37 +02:00
parent 6dd201e094
commit a40301242b
2 changed files with 22 additions and 0 deletions

View file

@ -255,3 +255,23 @@ colorscript random
starship init fish | source starship init fish | source
set -gx PATH "$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH" set -gx PATH "$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"
function phil-fix-names
perl-rename 'y/A-Z/a-z/' * && perl-rename 'y/ /-/' *
end
function polish
setxkbmap -model pc104 -layout pl -option compose:rctrl
end
function vps
ssh -p 2222 phil@46.38.232.163 -i ~/.ssh/id_ed25519_nopass
end
function vpssh
sshfs phil@46.38.232.163:/srv/ ~/remote/vps-srv -p 2222 -o identityFile=~/.ssh/id_ed25519_nopass -o reconnect $argv;
end
function vpsshu
fusermount3 -u ~/remote/vps-srv/ $argv;
end

2
.stow-local-ignore Normal file
View file

@ -0,0 +1,2 @@
\.git
README.org