mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Add ssh and key related aliases and reformat all fish files
This commit is contained in:
parent
0ef8fb571a
commit
7a361e5260
10 changed files with 72 additions and 54 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue