From 1d0147c8fe36128a17d3d5aeb009030ce79c186c Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Wed, 21 Jun 2017 20:05:05 +0200 Subject: [PATCH] Old bash --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 784433b..0de3cba 100644 --- a/bashrc +++ b/bashrc @@ -115,7 +115,7 @@ export PATH="$HOME/.scripts/:$PATH" [ -f /etc/bash_completion ] && . /etc/bash_completion # Bad day mood-saver -fuck() { +function fuck { if which thefuck &> /dev/null then eval $(thefuck --alias) @@ -127,7 +127,7 @@ fuck() { alias FUCK='fuck' # Node Version Manager -nvm() { +function nvm { if [ -s "$NVM_DIR/nvm.sh" ] then . "$NVM_DIR/nvm.sh"