[Emacs] Update eshell aliases
Some checks failed
continuous-integration/drone/push Build is failing

Update eshell aliases

I should replace this file later with some Elisp code in the user init
to read aliases from Fish abbreviations.

Something good would be to try to write some Elisp code to emulate Fish
abbreviations, but I have to find what hook or function is called when a
new character is entered in the shell that triggers autocompletion. Code
in this package might help:
https://github.com/szermatt/emacs-bash-completion
This commit is contained in:
Lucien Cartier-Tilet 2020-10-25 11:26:42 +01:00
parent 7b3fe54d8e
commit 45a5db0f0d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1,24 +1,36 @@
alias S sudo systemctl $* alias s systemctl $*
alias cdebug cmake -DCMAKE_BUILD_TYPE=Debug $*
alias chgrp chgrp --preserve-root $* alias nmcli nmcli -p -c auto $*
alias chmod chmod --preserve-root $*
alias chown chown --preserve-root $* alias chgrp chgrp --preserve-root $*
alias clang clang -Wall $* alias chmod chmod --preserve-root $*
alias clang++ clang++ -Wall $* alias chown chown --preserve-root $*
alias df df -H $*
alias du du -ch $*
alias grep grep --color=auto $*
alias ls exa -halg@ --group-directories-first --git $*
alias lns ln -si $*
alias mkdir mkdir -p $*
alias rm rm -I $*
alias rmd rm --preserve-root -Ir $*
alias rmdf rm --preserve-root -Irf $*
alias rmf rm --preserve-root -If $*
alias cdebug cmake -DCMAKE_BUILD_TYPE=Debug $*
alias crelease cmake -DCMAKE_BUILD_TYPE=Release $* alias crelease cmake -DCMAKE_BUILD_TYPE=Release $*
alias du du -ch alias g++ g++ -Wall -std=c++17 $*
alias flac youtube-dl -x --audio-format flac --audio-quality 0 alias gcc gcc -Wall -std=c11 $*
alias g++ g++ -Wall -std=c++17 $* alias clang++ clang++ -Wall -std=c++17 $*
alias gcc gcc -Wall -std=c11 $* alias clang clang -Wall -std=c11 $*
alias grep grep --color=auto $*
alias lns ln -si $* alias dcd docker-compose down
alias mp3 youtube-dl -x --audio-format flac --audio-quality 0 $* alias dcu docker-compose up
alias nmcli nmcli -p -c auto $* alias dcud docker-compose up -d
alias rm rm -I $* alias dcp docker-compose pull
alias rmd rm --preserve-root -Ir $*
alias rmdf rm --preserve-root -Irf $* alias flac youtube-dl -x --audio-format flac --audio-quality 0 $*
alias rmf rm --preserve-root -If $* alias mp3 youtube-dl -x --audio-format flac --audio-quality 0 $*
alias search pacman -Ss $* alias wget wget -c $*
alias untar tar -xvzf $*
alias update sudo pacman -Syu
alias wget wget -c $*