Consistent indenting for .fish files
This commit is contained in:
parent
ce52fc5aff
commit
d5b9a71d71
18 changed files with 106 additions and 93 deletions
|
@ -1,13 +1,13 @@
|
|||
function pw
|
||||
set -l clipboard
|
||||
if type -q pbcopy
|
||||
set clipboard pbcopy
|
||||
else if type -q xclip
|
||||
set clipboard xclip
|
||||
else
|
||||
echo "No clipboard handler found!"
|
||||
return 1
|
||||
end
|
||||
set -l clipboard
|
||||
if type -q pbcopy
|
||||
set clipboard pbcopy
|
||||
else if type -q xclip
|
||||
set clipboard xclip
|
||||
else
|
||||
echo "No clipboard handler found!"
|
||||
return 1
|
||||
end
|
||||
|
||||
cryptopassphrase -k ~/.scrypt-pwgen.key $argv | tr -d '\n' | $clipboard
|
||||
cryptopassphrase -k ~/.scrypt-pwgen.key $argv | tr -d '\n' | $clipboard
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue