myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

alias (1803B)


      1 #alias less='less -F'
      2 alias grep='grep --color=auto'
      3 #alias guile='rlwrap guile'
      4 alias ls='ls --color=auto -h'
      5 alias l=ls
      6 alias ll='ls --color=auto -lh'
      7 alias lll='ls --color=auto -lh | less'
      8 alias df='df -h'
      9 alias gpg='gpg --ask-cert-level'
     10 alias c=pushd
     11 alias b=popd
     12 alias u=sudo
     13 alias h=ssh
     14 alias n=man
     15 alias ag=apt-get
     16 alias p=less
     17 alias t=task
     18 alias md=mkdir
     19 alias g=git
     20 alias la="ls -a"
     21 alias ll="ls -l"
     22 alias gs="git status"
     23 alias ga="git add"
     24 alias gd="git diff"
     25 alias gc="git commit"
     26 alias gcm="git commit -m"
     27 alias gca="git commit -am"
     28 alias gps="git push"
     29 alias gpl="git pull"
     30 alias gl="git log"
     31 alias gb="git branch"
     32 alias sa="svn add"
     33 alias sup="svn up"
     34 alias sl="svn log"
     35 alias gdb="gdb --args"
     36 alias feh="feh -Z"
     37 alias x="exec xinit"
     38 alias mtr="mtr -t"
     39 alias record=". ~/scripts/my_ttyrec"
     40 #alias ms="notmuch search"
     41 #alias msw="notmuch search"
     42 #alias mn="notmuch search tag:new tag:inbox"
     43 #alias mi="notmuch search tag:inbox"
     44 alias mw="grep \$\* | cut -d ' ' -f 1 | while read a; do notmuch show \$a; done | less"
     45 alias msw="history | tail -1 | cut -d ' ' -f2- | mw \$\*"
     46 alias myip="curl icanhazip.com"
     47 alias cdtemp="c \`mktemp -d ~/scratch/XXXXXXXX\`"
     48 alias sshn="ssh -o \"ControlPath=/nowhere\" -o ControlMaster=no"
     49 alias v='f -e vim'
     50 alias m='f -e mplayer'
     51 alias o='a -e xdg-open'
     52 alias sw="sr -browser=w3m"
     53 alias wen="sw wikipedia"
     54 alias dico="cat /usr/share/dict/french"
     55 #alias pingoo="ping google.com"
     56 alias ncdu="ncdu --confirm-quit"
     57 
     58 # work around https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1342412
     59 alias ssh-copy-id='ssh-copy-id -o "ControlPath=/nowhere" -o "ControlMaster=no"'
     60 
     61 #alias ww="vim -c 'VimwikiIndex'"
     62 alias youtubedl='yt-dlp --restrict-filenames'
     63 
     64 alias nmcli="nmcli --pretty --ask"
     65 
     66 alias wttr="curl -s 'http://wttr.in/Montrouge' | head -n-2 | sed 1d"