gibney.org
:
Technology
:
Linux
:
bashrc
(Entry Nr. 400, by user 1 |
edit
)
PS1="\W > " <br>alias ls='ls -Alh --color --time-style=long-iso' <br>alias duwim="du --apparent-size -c -s -B1048576 * | sort -g" <br>alias df="df -h" <br>xset b off <br># ge-nautilus will start nautilus in the current dir <br># ge-nautilus somedir will start nautilus in some dir <br>ge-nautilus() { nautilus --browser "${1:-$PWD}"& } <br>PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' <br> <br># old stuff i dont use anymore: <br># xmodmap <(echo -e "keycode 110 = Caps_Lock\nkeycode 66 = Escape\nclear Lock\nadd Lock = Caps_Lock")
Create a new entry at this position