💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › openbsd › .profile.gmi captured on 2023-01-29 at 11:31:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

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

systemSetup

Log

Files

Refs

README

LICENSE

.profile (4974B)

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