Make bashrc more efficient: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
export EDITOR=emacs | export EDITOR=emacs | ||
alias e='emacs' | |||
alias se='sudo emacsclient' | alias se='sudo emacsclient' | ||
alias s='ls -hl' | alias s='ls -hl' | ||
Line 16: | Line 17: | ||
alias rmd='rm -rf' | alias rmd='rm -rf' | ||
alias du='du -d 1 -hl' | alias du='du -d 1 -hl' | ||
alias pon='export {http,https,ftp,all}_proxy="http://$host_ip:35280"' | |||
alias poff='unset {http,https,ftp,all}_proxy' | |||
alias por='echo $http_proxy' | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 15:15, 15 May 2025
export EDITOR=emacs
alias e='emacs'
alias se='sudo emacsclient'
alias s='ls -hl'
alias eb='emacs ~/.bashrc'
alias sb='source ~/.bashrc'
alias sp='poweroff'
alias sr='reboot'
alias as='apt search --names-only'
alias ai='sudo apt install'
alias au='sudo apt update'
alias ac='sudo apt autoremove'
alias rmd='rm -rf'
alias du='du -d 1 -hl'
alias pon='export {http,https,ftp,all}_proxy="http://$host_ip:35280"'
alias poff='unset {http,https,ftp,all}_proxy'
alias por='echo $http_proxy'