check if thefuck is installed
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -171,7 +171,9 @@ export NVM_DIR="$HOME/.nvm"
|
|||||||
source /usr/share/doc/fzf/examples/key-bindings.bash
|
source /usr/share/doc/fzf/examples/key-bindings.bash
|
||||||
|
|
||||||
# thefuck
|
# thefuck
|
||||||
|
if [[ -x "$(command -v thefuck)" ]]; then
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
fi
|
||||||
|
|
||||||
# Only load liquidprompt in interactive shells, not from a script or from scp
|
# Only load liquidprompt in interactive shells, not from a script or from scp
|
||||||
[[ $- == *i* ]] && [ -f /usr/share/liquidprompt/liquidprompt ] && . /usr/share/liquidprompt/liquidprompt
|
[[ $- == *i* ]] && [ -f /usr/share/liquidprompt/liquidprompt ] && . /usr/share/liquidprompt/liquidprompt
|
||||||
|
|||||||
Reference in New Issue
Block a user