💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › rhel_centos › .bash_alia… captured on 2024-08-18 at 18:54:56. 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 (5178B)

     1 if [ -f ~/.bash_aliases_local ]; then
     2     . ~/.bash_aliases_local
     3 fi
     4 
     5 alias vi=vim
     6 alias al="(cat ~/.bash_aliases|grep '^alias' && cat ~/.bash_aliases_local | grep '^alias')"
     7 alias whal='al|grep'
     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 alias c='source ~/bin/c.sh'
    34 alias pl='~/bin/pl.sh'
    35 
    36 
    37 # Display colors in less :
    38 alias less="less -R"
    39 alias le=less
    40 
    41 
    42 # dnf - package manager
    43 alias qs="dnf search"
    44 alias qd="dnf info"
    45 alias qw="dnf install"
    46 
    47 alias duu="du -h --max-depth=1"
    48 alias dfh="df -h"
    49 
    50 # Screen attach detach
    51 alias scr="screen -T xterm"
    52 alias sr="screen -r"
    53 alias sd="screen -d"
    54 alias ta="tmux attach"
    55 alias tad="tmux attach -d"
    56 
    57 #alias webs="w3m -no-cookie -s -W www.google.com"
    58 alias webs='/usr/local/bin/webs.sh'
    59 alias ws=webs
    60 alias cm="cmatrix -b -u 6 -a -C blue"
    61 
    62 alias ifconfig='/sbin/ifconfig'
    63 alias xus="xmodmap /usr/share/xmodmap/xmodmap.us"
    64 alias xse="xmodmap /usr/share/xmodmap/xmodmap.se"
    65 
    66 # easydoneit
    67 alias ,='edi'
    68 alias ,l=', ls'
    69 alias ,c=', cat'
    70 alias s='~/bin/xapianOmegaSearch.sh'
    71 alias ,lc=',l -s|tac'
    72 alias ,lt=',l -t|tac'
    73 alias ,a=', add -t'
    74 alias ,s=', search'
    75 # Add task at bottom of list
    76 alias ,bt=', topbot bottom;, cr'
    77 # Add task on top of list
    78 alias ,tt=', topbot top;, cr'
    79 
    80 # sheepy
    81 alias z='sheepy'
    82 alias ref='~/bin/ref.sh'
    83 alias ug='~/bin/ug.sh'
    84 alias zh='z -h'
    85 alias zc='z -c'
    86 alias zl='z -l'
    87 alias zd='z -d'
    88 alias zn='z -n'
    89 alias zm='z -m'
    90 alias ze='z -e'
    91 alias sh='spm help'
    92 alias sn='spm new'
    93 alias sp='spm publish'
    94 alias si='spm install'
    95 alias sun='spm uninstall'
    96 alias ssw='spm show'
    97 alias sup='spm update'
    98 alias sf='spm find'
    99 alias st='spm top'
   100 alias sht='spm hot'
   101 alias slt='spm latest'
   102 alias sw='spm whoami'
   103 alias spf='spm profile'
   104 alias sif='spm info'
   105 alias sT='spmTui'
   106 
   107 # git
   108 alias go='git checkout'
   109 alias gi='git commit'
   110 alias gia='git commit --amend'
   111 alias ga='git commit -a'
   112 alias gd='git diff'
   113 alias gp='git push'
   114 alias gl='git pull'
   115 alias gu='git status'
   116 alias gg='git log --pretty=fuller'
   117 alias gh='git gg'
   118 alias gc='git clone'
   119 alias gb='git blame'
   120 alias gs='git show --pretty=fuller'
   121 alias gst='git stash'
   122 alias gsta='git stash apply'
   123 alias gr='git branch -D'
   124 alias grt='git remote -v'
   125 alias gj='git log -p'
   126 alias gle='~/bin/gle.sh'
   127 alias gdf='~/bin/gdf.sh'
   128 alias gig='cp ~/.gittemplates/.gitignore'
   129 alias gad='git add'
   130 alias gcl='git clean -d -f'
   131 
   132 alias N='~/bin/N.sh'
   133 
   134 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:\""
   135 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:\""
   136