systemSetup

Log

Files

Refs

README

LICENSE

.cshrc (5621B)

     1 # $FreeBSD: head/share/skel/dot.cshrc 278616 2015-02-12 05:35:00Z cperciva $
     2 #
     3 # .cshrc - csh resource script, read at beginning of execution by each shell
     4 #
     5 # see also csh(1), environ(7).
     6 #
     7 
     8 #alias h                history 25
     9 alias j                jobs -l
    10 alias la        ls -aF
    11 alias lf        ls -FA
    12 alias ll        ls -lAF
    13 
    14 alias al        "(cat ~/.cshrc|grep '^alias')"
    15 alias whal        'al|grep'
    16 alias pss        'pwgen -s -y 20 6; echo ; pwgen -s 20 6'
    17 #alias tar        "tar --use-compress-program=pbzip2"
    18 alias l                "ls -l -h"
    19 alias la        "ls -ltr"
    20 alias ll        "ls -al"
    21 alias rd        "rm -rf"
    22 alias cd..        'cd ..'
    23 alias ..        'cd ..'
    24 alias ...        'cd ../..'
    25 #alias suspend='sudo pm-suspend'
    26 alias objdump        'objdump -M intel'
    27 alias g                git
    28 alias csv        'scim --txtdelim=";"'
    29 alias new        '~/bin/new.sh'
    30 alias mk        'source ~/bin/mk.sh'
    31 alias r                ranger
    32 alias h                history
    33 alias vd        vimdiff
    34 alias noc        "sed 's/\x1b\[[0-9;]*[a-zA-Z]//g'"
    35 alias td        'tree -d'
    36 
    37 # Display colors in less :
    38 alias less        less -R
    39 
    40 # apt
    41 #alias qs="apt-cache search"
    42 #alias qd="apt-cache show"
    43 #alias qw="apt-get install"
    44 
    45 alias duu        du -h -d 1
    46 alias dfh        df -h
    47 
    48 # Screen attach detach
    49 alias scr        "screen -T xterm"
    50 alias sr        "screen -r"
    51 alias sd        "screen -d"
    52 alias ta        "tmux attach"
    53 alias tad        "tmux attach -d"
    54 
    55 #alias webs="w3m -no-cookie -s -W www.google.com"
    56 alias webs        '/usr/local/bin/webs.sh'
    57 alias ws        webs
    58 alias cm        "cmatrix -b -u 6 -a -C blue"
    59 
    60 #alias ifconfig        '/sbin/ifconfig'
    61 alias xus        "xmodmap /usr/share/xmodmap/xmodmap.us"
    62 alias xse        "xmodmap /usr/share/xmodmap/xmodmap.se"
    63 
    64 # easydoneit
    65 alias ,                'edi'
    66 alias ,l        ', ls'
    67 alias ,c        ', cat'
    68 alias s                '~/bin/xapianOmegaSearch.sh'
    69 alias ,lc        ',l -s|tac'
    70 alias ,lt        ',l -t|tac'
    71 alias ,a        ', add -t'
    72 alias ,s        ', search'
    73 # Add task at bottom of list
    74 alias ,bt        ', topbot bottom;, cr'
    75 # Add task on top of list
    76 alias ,tt        ', topbot top;, cr'
    77 
    78 # sheepy
    79 alias z                'sheepy'
    80 alias ref        '~/bin/ref.sh'
    81 alias zh        'z -h'
    82 alias zc        'z -c'
    83 alias zl        'z -l'
    84 alias zd        'z -d'
    85 alias zn        'z -n'
    86 alias zm        'z -m'
    87 alias ze        'z -e'
    88 alias sh        'spm help'
    89 alias sn        'spm new'
    90 alias sp        'spm publish'
    91 alias si        'spm install'
    92 alias sun        'spm uninstall'
    93 alias ssw        'spm show'
    94 alias sup        'spm update'
    95 alias sf        'spm find'
    96 alias st        'spm top'
    97 alias sht        'spm hot'
    98 alias slt        'spm latest'
    99 alias sw        'spm whoami'
   100 alias spf        'spm profile'
   101 alias sif        'spm info'
   102 alias sT        'spmTui'
   103 
   104 # git
   105 alias go        'git checkout'
   106 alias gi        'git commit'
   107 alias gia        'git commit --amend'
   108 alias ga        'git commit -a'
   109 alias gd        'git diff'
   110 alias gp        'git push'
   111 alias gl        'git pull'
   112 alias gu        'git status'
   113 alias gg        'git log --pretty=fuller'
   114 alias gh        'git gg'
   115 alias gc        'git clone'
   116 alias gb        'git blame'
   117 alias gs        'git show --pretty=fuller'
   118 alias gst        'git stash'
   119 alias gsta        'git stash apply'
   120 alias gr        'git branch -D'
   121 alias grt        'git remote -v'
   122 alias gj        'git log -p'
   123 alias gle        '~/bin/gle.sh'
   124 alias gdf        '~/bin/gdf.sh'
   125 
   126 #alias lsb        "setenv LS_COLORS \"no=00:fi=00:di=01;34:ln=01;35:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;31:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;35:*.au=00;35:*.flac=00;35:*.mid=00;35:*.midi=00;35:*.mka=00;35:*.mp3=00;35:*.mpc=00;35:*.ogg=00;35:*.ra=00;35:*.wav=00;35:\""
   127 #alias lsd        "setenv LS_COLORS \"no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:\""
   128 
   129 
   130 # These are normally set through /etc/login.conf.  You may override them here
   131 # if wanted.
   132 # set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
   133 # setenv        BLOCKSIZE        K
   134 # A righteous umask
   135 # umask 22
   136 
   137 setenv        EDITOR        vi
   138 setenv        PAGER        less
   139 
   140 if ($?prompt) then
   141         # An interactive shell -- set some stuff up
   142         set prompt = "%N@%m%# "
   143         set promptchars = "%#"
   144 
   145         set filec
   146         set history = 1000
   147         set savehist = (1000 merge)
   148         set autolist = ambiguous
   149         # Use history to aid expansion
   150         set autoexpand
   151         set autorehash
   152         set mail = (/var/mail/$USER)
   153         if ( $?tcsh ) then
   154                 bindkey "^W" backward-delete-word
   155                 bindkey -k up history-search-backward
   156                 bindkey -k down history-search-forward
   157         endif
   158 
   159 endif