mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
improved the check for availability
This commit is contained in:
parent
0da9a4be25
commit
803e5dbb84
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
if [ $commands[thefuck] ]; then
|
if [[ -n $commands[thefuck] ]]; then
|
||||||
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
||||||
alias FUCK='fuck'
|
alias FUCK='fuck'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue