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:
Anonymous2008-04-02 8:53
alias penis=penus
Name:
Anonymous2008-04-02 13:11
Firstly, why not just issue `alias' instead of that cat/grep shebang? What the fuck.
Secondly I don't give half a shit about aliases. $ alias
alias d='ls --color'
alias grep='grep --colour=auto'
alias ll='ls --color -l'
alias ls='ls --color=auto'
The only ones of these that I use are ls and grep, because they happen to have the names of the actual programs.
Futhermore, BASH is a shell, not a console. You dumb fuck.
Oh, I almost forgot: Your ``security aliases'' are the most ridiculous thing I've seen in a while. Do you have any idea how annoying that shit gets after 10 minutes of work, let alone 8-10 hours every day? What the god damn fuck.
Name:
Anonymous2008-04-02 18:59
Also, use fish.
Name:
Anonymous2008-04-03 0:43
albert fish?
Name:
Anonymous2008-04-03 2:50
The first five involve my flash drives, ipod, and externals not surprisingly; those mainly exist just to limit the number of times I have to use the shift key.
alias akiha='cd /Volumes/AKIHA'
alias ciel='cd /Volumes/CIEL'
alias hisui='cd /Volumes/Hisui'
alias kohaku='cd /Volumes/KOHAKU'
alias ren='cd /Volumes/REN'
alias c='clear'
alias ls='ls -Gx'
alias manga='mogrify -resize "x1200 >"'
alias mgain='mp3gain -a'
alias mpc='mpc --format "[[%artist% [{%album%}] - ]%title%]|file]"'
alias o='open'
alias v='vim'
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'
Name:
Anonymous2008-04-03 6:37
OP here. I didn't expect much from this thread, seeing as /comp/ is populated by 14yo wannabe scriptkiddies asking how to get hotmail passwords, but it has attracted people with enough knowledge to evidence my Unix newfaggotry.
>>6
I used to have similar aliases for my hard drives, probably restoring them sometime. Holding shift sure is tiring.
Name:
Anonymous2008-04-03 8:28
>>6 alias c='clear'
use Ctrl+l (search 'Readline Command Names' in the bash manual for more shortcuts)
>>8
btw, that should have been 'colored ls', not 'colored less'.