>>56620603
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# ibus is used for QT input. Basically, Ctrl-Shift-U to
# enter unicode characters in FocusWriter.
export QT_IM_MODULE=ibus
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
#my listen key for di.fm (get a new one at di.fm/trial, then go to player settings)
DI_FM_LISTEN_KEY='aebc083223fb8f34c7603847'
#my aliases
alias sshp='ssh [email protected]'
alias gsalad='mplayer -playlist http://www.somafm.com/groovesalad.pls'
alias ghop="mplayer http://prem1.di.fm:80/glitchhop?$DI_FM_LISTEN_KEY"
alias scr='scrot /tmp/scrot.png'
alias scrs='scrot -s /tmp/scrot.png'
alias pgoog='ping www.google.co.uk'
alias ciw='ciphwrap -v -k ~/syncfiles/Private/Cipher/key'
alias cip='cipher -k ~/syncfiles/Private/Cipher/key'
alias cid='cipher -d -k ~/syncfiles/Private/Cipher/key'
alias aud='cd /home/ethan/ && .scripts/audition.sh -a aud/ -f ghc/ -c "mplayer -msglevel all=0:statusline=5 -nolirc" -r 5 -s'
#cl function, changes to dir and lists contents
cl() {
local dir="$1"
local dir="${dir:=$HOME}"
if [[ -d "$dir" ]]; then
cd "$dir" > /dev/null; ls
else
echo "bash: cl: $dir: Directory not found"
fi
}
#provides the ranger-cd function
source /usr/share/doc/ranger/examples/bash_automatic_cd.sh
Last four aliases are for programs/scripts I wrote myself. In order: encrypt a file, decrypt a file, decrypt a file for the duration of one command, and a script that runs files through a command and asks me to each one 1 to 5, then puts them in folders accordingly. I'm using it to work through a big folder of music that I downloaded.