Thingies in a parallel universe
This commit is contained in:
parent
aa493e63df
commit
291597424b
3 changed files with 10 additions and 8 deletions
8
bashrc
8
bashrc
|
@ -46,8 +46,6 @@ alias dmesg='dmesg --ctime'
|
|||
|
||||
# Frequent mistakes
|
||||
alias systemclt=systemctl
|
||||
alias docker='sudo docker'
|
||||
alias docker-compose='sudo docker-compose'
|
||||
|
||||
# Shortcuts for commonly used commands
|
||||
alias ll="ls -l $LS_OPTIONS"
|
||||
|
@ -119,7 +117,7 @@ fuck() {
|
|||
if which thefuck &> /dev/null
|
||||
then
|
||||
eval $(thefuck --alias)
|
||||
fuck
|
||||
fuck $@
|
||||
else
|
||||
echo "thefuck is not installed on this system."
|
||||
fi
|
||||
|
@ -128,12 +126,12 @@ alias FUCK='fuck'
|
|||
|
||||
# Node Version Manager
|
||||
nvm() {
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
if [ -s "$NVM_DIR/nvm.sh" ]
|
||||
then
|
||||
. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
nvm
|
||||
nvm $@
|
||||
else
|
||||
echo "NVM is not installed on this system."
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue