Commit 803e5dbb authored by Cristian Măgherușan-Stanciu's avatar Cristian Măgherușan-Stanciu Committed by Roland Chernov
Browse files

improved the check for availability

parent 0da9a4be
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment