Old bash
This commit is contained in:
parent
d419726ba6
commit
1d0147c8fe
4
bashrc
4
bashrc
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue