Add ssh and key related aliases and reformat all fish files

This commit is contained in:
mitchell 2020-10-31 18:13:25 -04:00
parent 0ef8fb571a
commit 7a361e5260
10 changed files with 72 additions and 54 deletions

View file

@ -6,18 +6,18 @@ function editcb -a ft -d 'Opens your editor to the cliboard\'s current contents.
switch "$uname"
case 'Linux'
xclip -out -selection clipboard > $file
xclip -out -selection clipboard >$file
case 'Darwin'
pbpaste > $file
pbpaste >$file
end
$EDITOR $file
switch "$uname"
case 'Linux'
xclip -in -selection clipboard < $file
xclip -in -selection clipboard <$file
case 'Darwin'
pbcopy < $file
pbcopy <$file
end
rm $file