bash updates
This commit is contained in:
parent
ddda43ae98
commit
ff1ea2b817
1 changed files with 5 additions and 25 deletions
30
bash/.bashrc
30
bash/.bashrc
|
@ -155,26 +155,20 @@ alias ..="cd .."
|
||||||
# empty the screen (or use C-l)
|
# empty the screen (or use C-l)
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
|
|
||||||
# why wouldn't you want human readable sizes?
|
|
||||||
alias df="df -h"
|
|
||||||
|
|
||||||
# get outta here!
|
# get outta here!
|
||||||
alias e="exit"
|
alias e="exit"
|
||||||
|
|
||||||
# grep shortie
|
# ls is eza
|
||||||
alias g="grep --color=auto -i "
|
alias ls="eza"
|
||||||
|
|
||||||
# shorter ls
|
# shorter ls
|
||||||
alias l="ls -G --color"
|
alias l="eza"
|
||||||
|
|
||||||
# list files with details
|
# list files with details
|
||||||
alias ll="ls -lh --color"
|
alias ll="eza -lh --git"
|
||||||
|
|
||||||
# list all files.
|
# list all files.
|
||||||
alias la="ls -alh --color"
|
alias la="eza -lha --git"
|
||||||
|
|
||||||
# List directories.
|
|
||||||
alias ld="ls --color -Gd */"
|
|
||||||
|
|
||||||
# add some color to grep.
|
# add some color to grep.
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
|
@ -195,20 +189,6 @@ alias pc='python -ic "from __future__ import division; from math import *"'
|
||||||
alias nano='nano -ciw '
|
alias nano='nano -ciw '
|
||||||
|
|
||||||
|
|
||||||
# emacsclient
|
|
||||||
alias ec="emacsclient -n -c -a emacs"
|
|
||||||
|
|
||||||
if [[ HAS_GNOME ]]; then
|
|
||||||
alias nosleep="gnome-session-inhibit --inhibit-only"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# magic packets to wake up hosts
|
|
||||||
alias wake_richie="wakeonlan ec:b1:d7:44:91:40"
|
|
||||||
alias wake_ari="wakeonlan 3c:97:0e:97:32:84 6c:88:14:36:92:b0"
|
|
||||||
alias wake_uzi="wakeonlan f4:d4:88:7d:6a:e9 34:99:71:d8:a4:48"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# __ _ _
|
# __ _ _
|
||||||
# / _|_ _ _ __ ___| |_(_) ___ _ __ ___
|
# / _|_ _ _ __ ___| |_(_) ___ _ __ ___
|
||||||
# | |_| | | | '_ \ / __| __| |/ _ \| '_ \/ __|
|
# | |_| | | | '_ \ / __| __| |/ _ \| '_ \/ __|
|
||||||
|
|
Loading…
Reference in a new issue