Bashrc.wiki: Removed code from the Aliases section. Just read the damn source
This commit is contained in:
parent
257765cc22
commit
8358ee29a0
24
Bashrc.wiki
24
Bashrc.wiki
|
@ -82,29 +82,7 @@ I'm not completely happy with this solution because it causes each of the tput s
|
|||
|
||||
https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc.d/10-alias.bash
|
||||
|
||||
Most of these are just creature comforts and fairly self-explanitory:
|
||||
|
||||
{{{class="prettyprint"
|
||||
### ALIASES ###
|
||||
|
||||
# Colorize all `ls` output:
|
||||
alias ls='ls -AF --color=auto'
|
||||
|
||||
# Map "la" to `ls -la`
|
||||
alias la='ls -laFh --color=auto'
|
||||
|
||||
# Colorize `grep` output
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
# Change layout of lsblk to include FSTYPE and remove MAJ:MIN, RM, and RO collumns.
|
||||
alias lsblk='lsblk -o NAME,FSTYPE,SIZE,TYPE,MOUNTPOINT'
|
||||
|
||||
# Always use sudo when using nmap.
|
||||
alias nmap='sudo -E nmap'
|
||||
|
||||
# Switch $TERM temporarily (for logging into machines that don't have tmux-256color terminfo)
|
||||
alias screenterm='TERM=screen-256color'
|
||||
}}}
|
||||
Most of these are simple creature comforts and are commented with sufficient explanation.
|
||||
|
||||
----
|
||||
|
||||
|
|
Loading…
Reference in New Issue