This commit is contained in:
Geoffrey Frogeye 2017-06-21 20:05:05 +02:00
parent d419726ba6
commit 1d0147c8fe

4
bashrc
View file

@ -115,7 +115,7 @@ export PATH="$HOME/.scripts/:$PATH"
[ -f /etc/bash_completion ] && . /etc/bash_completion [ -f /etc/bash_completion ] && . /etc/bash_completion
# Bad day mood-saver # Bad day mood-saver
fuck() { function fuck {
if which thefuck &> /dev/null if which thefuck &> /dev/null
then then
eval $(thefuck --alias) eval $(thefuck --alias)
@ -127,7 +127,7 @@ fuck() {
alias FUCK='fuck' alias FUCK='fuck'
# Node Version Manager # Node Version Manager
nvm() { function nvm {
if [ -s "$NVM_DIR/nvm.sh" ] if [ -s "$NVM_DIR/nvm.sh" ]
then then
. "$NVM_DIR/nvm.sh" . "$NVM_DIR/nvm.sh"