💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › arch › .bash_aliases.gmi captured on 2024-08-25 at 00:51:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

systemSetup

Log

Files

Refs

README

LICENSE

.bash_aliases (5109B)

     1 if [ -f ~/.bash_aliases_local ]; then
     2     . ~/.bash_aliases_local
     3 fi
     4 
     5 alias al="(cat ~/.bash_aliases|grep '^alias' && cat ~/.bash_aliases_local | grep '^alias')"
     6 alias whal='al|grep'
     7 alias vi=vim
     8 alias pss='pwgen -s -y 20 6; echo ; pwgen -s 20 6'
     9 alias tar="tar --use-compress-program=pbzip2"
    10 alias l="ls -l -h --time-style=long-iso"
    11 alias la="ls -ltr --time-style=long-iso"
    12 alias ll="ls -al --time-style=long-iso"
    13 alias rd="rm -rf"
    14 alias cd..='cd ..'
    15 alias ..='cd ..'
    16 alias ...='cd ../..'
    17 alias suspend='sudo pm-suspend'
    18 alias objdump='objdump -M intel'
    19 alias g='git'
    20 alias csv='scim --txtdelim=";"'
    21 alias cs='column -s , -t'
    22 alias new='~/bin/new.sh'
    23 alias mk='source ~/bin/mk.sh'
    24 alias r='ranger'
    25 alias h='history'
    26 alias vd='vimdiff'
    27 alias noc="sed 's/\x1b\[[0-9;]*[a-zA-Z]//g'"
    28 alias td='tree -d'
    29 alias d='gdb -tui'
    30 alias da='gdb -tui --args'
    31 alias vb='vim `find .|pick`'
    32 alias vn='vim `git ls-files|pick`'
    33 
    34 # Display colors in less :
    35 alias less="less -R"
    36 
    37 # apt
    38 alias qs="apt-cache search"
    39 alias qd="apt-cache show"
    40 alias qw="apt-get install"
    41 
    42 alias duu="du -h --max-depth=1"
    43 alias dfh="df -h"
    44 
    45 # Screen attach detach
    46 alias scr="screen -T xterm"
    47 alias sr="screen -r"
    48 alias sd="screen -d"
    49 alias ta="tmux attach"
    50 alias tad="tmux attach -d"
    51 
    52 #alias webs="w3m -no-cookie -s -W www.google.com"
    53 alias webs='/usr/local/bin/webs.sh'
    54 alias ws=webs
    55 alias cm="cmatrix -b -u 6 -a -C blue"
    56 
    57 alias ifconfig='/sbin/ifconfig'
    58 alias xus="xmodmap /usr/share/xmodmap/xmodmap.us"
    59 alias xse="xmodmap /usr/share/xmodmap/xmodmap.se"
    60 
    61 # easydoneit
    62 alias ,='edi'
    63 alias ,l=', ls'
    64 alias ,c=', cat'
    65 alias s='~/bin/xapianOmegaSearch.sh'
    66 alias ,lc=',l -s|tac'
    67 alias ,lt=',l -t|tac'
    68 alias ,a=', add -t'
    69 alias ,s=', search'
    70 # Add task at bottom of list
    71 alias ,bt=', topbot bottom;, cr'
    72 # Add task on top of list
    73 alias ,tt=', topbot top;, cr'
    74 
    75 # sheepy
    76 alias z='sheepy'
    77 alias ref='~/bin/ref.sh'
    78 alias ug='~/bin/ug.sh'
    79 alias zh='z -h'
    80 alias zc='z -c'
    81 alias zl='z -l'
    82 alias zd='z -d'
    83 alias zn='z -n'
    84 alias zm='z -m'
    85 alias ze='z -e'
    86 alias sh='spm help'
    87 alias sn='spm new'
    88 alias sp='spm publish'
    89 alias si='spm install'
    90 alias sun='spm uninstall'
    91 alias ssw='spm show'
    92 alias sup='spm update'
    93 alias sf='spm find'
    94 alias st='spm top'
    95 alias sht='spm hot'
    96 alias slt='spm latest'
    97 alias sw='spm whoami'
    98 alias spf='spm profile'
    99 alias sif='spm info'
   100 alias sT='spmTui'
   101 
   102 # git
   103 alias go='git checkout'
   104 alias gi='git commit'
   105 alias gia='git commit --amend'
   106 alias ga='git commit -a'
   107 alias gd='git diff'
   108 alias gp='git push'
   109 alias gl='git pull'
   110 alias gu='git status'
   111 alias gg='git log --pretty=fuller'
   112 alias gh='git gg'
   113 alias gc='git clone'
   114 alias gb='git blame'
   115 alias gs='git show --pretty=fuller'
   116 alias gst='git stash'
   117 alias gsta='git stash apply'
   118 alias gr='git branch -D'
   119 alias grt='git remote -v'
   120 alias gj='git log -p'
   121 alias gle='~/bin/gle.sh'
   122 alias gdf='~/bin/gdf.sh'
   123 alias gig='cp ~/.gittemplates/.gitignore'
   124 alias gad='git add'
   125 alias gcl='git clean -d -f'
   126 
   127 alias N='~/bin/N.sh'
   128 
   129 alias lsb="export 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:\""
   130 alias lsd="export 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:\""
   131