diff options
Diffstat (limited to 'dotrc/_alias')
-rw-r--r-- | dotrc/_alias | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/dotrc/_alias b/dotrc/_alias deleted file mode 100644 index 2b72874..0000000 --- a/dotrc/_alias +++ /dev/null @@ -1,92 +0,0 @@ -alias setcore="ulimit -c unlimited" - -alias mem=free - -#alias XTERM="xterm -vb -bg black -fg grey90 -cr red -sb -sl 5000 -sk -si -ls -geom 80x40 &" - -alias diffsrc='rcsdiff *.[ch] *.html makefile >& diff.out' - -alias ctags=exctags - -alias vi=vim - -alias gvim="gvim -geom 80x83" - -alias V="vi" - -alias ls="ls -Fx" -alias lsc="ls --color" -alias lrt="ls -lrt" -alias la="ls -a" -alias lsd="ls -1 | egrep /" - -alias h="history|more" -alias hi="history 20" -alias p="pwd" - -alias vc="vi ~/.alias" -alias sc="source ~/.alias" - -alias wenv="env | egrep " -alias wal="alias | egrep " -alias wset="set | egrep " - -alias pslink="/usr/sbin/ncpd -s /dev/ttyS1 -b 115200" -alias winamp="wine /home/wine/DriveC/Program\ Files/Winamp/winamp.exe" - -alias bug="gvd" - -alias status="cvs status | egrep Status:" - -. ~/.b_dalias - -# Vars -# -FIGNORE=.o - - -# Functions -# -function setenv () -{ - export $1=$2 -} - -function vgrep() -{ - local vgargs - local vgflist - local vgexp - - if [ $1 == "-i" ] ; then - vgargs="-i" - shift - else - vgargs="" - fi - - vgexp="$1" - shift - - vgflist=`egrep -l $vgargs "$vgexp" $*` - - if [ "$vgflist" == "" ] ; then - echo "No matches found" - else - vi -R -M -c "/$vgexp" $vgflist - fi -} - - -# Directory setting aliases -# -alias dsrc="source ~/.b_dalias" - -function dset () -{ - echo "export $1=\"$PWD\" ; alias $1='cd \"$PWD\"'" >> ~/.b_dalias - dsrc -} - -alias dwot='alias | egrep "=.cd" | egrep -v dwot' -alias vd="vi ~/.b_dalias" |