💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › dotfiles › .bash_aliases… captured on 2023-07-10 at 15:42:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

➡️ Next capture (2024-08-18)

🚧 View Differences

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

systemSetup

Log

Files

Refs

README

LICENSE

.bash_aliases (5462B)

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