View Single Post
  #1   (View Single Post)  
Old 23rd February 2015
Mike-Sanders Mike-Sanders is offline
Fdisk Soldier
Join Date: Dec 2012
Posts: 52
Default Any interesting snippets?

Do any of you have any snippets or scripts you're working on?

Here's some quickies... fav is the last one, acts as a toggle - launches xorg if not currently running, else exits an xterm.

alias ~      'cd ~'
alias -      'cd -'
alias ..     'cd ..'
alias x      '[ $?DISPLAY -eq 0 ] && xinit || exit'
Reply With Quote