Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Post your bash aliases.

Name: Anonymous 2008-04-02 6:23

Basically post the output of cat ~/.bashrc|grep alias and share your aliases. Mine:

#security aliases
alias cp='cp -iv'
alias rm='rm -iv'
alias mv='mv -iv'
#ease of use aliases
alias halp=help
alias ls='ls --color=auto -X'
alias ll='ls --color=auto -lXh'
alias cal='cal -m'
alias chmod='chmod -c'
alias kthx=clear
alias kthxbai=exit
alias hadoken='rm -f'
alias genkidama='rm -rf'
#cd aliases
alias ..='cd ..'
alias ~='cd ~'

The recommended security aliases, some to ease navigation with cd, some with prefered arguments and some silly ones.

Also, a flamefest of consoles is welcome as I would like to know others aside from bash.

Name: Anonymous 2008-04-03 5:31

Beside the common ones (colored less, safe mv, ...), I use
alias bittornado='/usr/bin/btdownloadgui.bittornado'
alias diff=colordiff

Variables and functions are more noteworthy:
function grep-hist() {
    grep $@ ~/.bash_history
}
function svndiff() {
    svn diff "${@}" | colordiff
}
export LS_COLORS="${LS_COLORS}:*.rar=01;31:*.7z=01;31:"
export GREP_OPTIONS='--color=auto'
export LESSEDIT='vim ?lm+%lm. %f'

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List