Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ~/.bashrc
- #
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- alias ls='ls --color=auto'
- #PS1='[\u@\h \W]\$ '
- # enable color support of ls and also add handy aliases
- if [ -x /usr/bin/dircolors ]; then
- test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
- alias ls='ls --color=auto'
- alias dir='dir --color=auto'
- alias vdir='vdir --color=auto'
- alias grep='grep --color=auto'
- alias fgrep='fgrep --color=auto'
- alias egrep='egrep --color=auto'
- fi
- # some more aliases
- alias ll='ls -l'
- alias la='ls -A'
- alias l='ls -CF'
- alias "XM"='pyxis'
- alias "home"='cd ~'
- alias ".."='cd ..'
- alias "k"='exit'
- alias "bash"='vim /home/msjche/.bashrc'
- alias "BB"='sudo /home/msjche/scripts/brightness.sh'
- alias "FF"='ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 15 -s 2560x1440 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 output.avi'
- #alias "FF"='ffmpeg -f alsa -i pulse -f x11grab -r 25 -s 2560x1440 -i :0.0 -acodec pcm_s16le -vcodec huffyuv -sameq Screencast.avi'
- alias "MP"='ncmpcpp'
- alias "news"='newsbeuter'
- alias "UU"='packer -Syu'
- alias "I"='yaourt'
- alias "pac"='sudo pacman -S'
- alias "WW"='wicd-curses'
- alias "gcalw"='gcalcli --width 12 calw'
- alias "gcal"='gcalcli --width 12 calm'
- alias "gcaladd"='gcalcli quick'
- alias "gcala"='gcalcli agenda'
- alias "N"='newsbeuter'
- alias "nvidia"='nvidia-smi -q -d TEMPERATURE'
- alias "ut"='youtube-viewer'
- alias "clock"='tty-clock -c -C 4'
- alias "irc"='irssi -c irc.freenode.net'
- alias "stopwatch"='echo "cntl-z to end" & time cat'
- alias "starwars"='telnet towel.blinkenlights.nl'
- alias "convert"='ffmpeg -i /home/msjche/out.ogv -ab 128 -b 1200 /home/msjche/Screencasts/Screencast.avi'
- alias "record"='gtk-recordMyDesktop'
- alias "info"='inxi -F'
- alias "rip"='sound-juicer'
- alias "twit"='turses'
- # Netfoo
- alias "driftnet"='echo "see pics from other computers on network" && sudo driftnet -i eth0'
- alias "ettercap"='echo "set up interface to capture network data" && sudo ettercap -TQM arp -i eth0 ///'
- alias "urlsnarf"='echo "see which websites others on network are visiting" && sudo urlsnarf -i eth0 |cut -d\" -f4'
- alias "slurm"='slurm -i wlan0'
- alias "net"='sudo nethogs eth0'
- RED="\[\e[1;31m\]"
- GREEN="\[\e[1;32m\]"
- YELLOW="\[\e[1;33m\]"
- BLUE="\[\e[1;36m\]"
- GREY="\[\e[1;30m\]"
- WHITE="\[\e[1;37m\]"
- if [[ $EUID == 0 ]] ; then
- PS1="$RED(\[\033[1;37m\] \w \[\e[0m\]$RED) >> \[\e[0;37m\]"
- else
- PS1="$YELLOW(\[\033[1;36m\] \w \[\e[0m\]$YELLOW)$GREEN >> \[\e[0;37m\]"
- fi
- archey
- #screenfetch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement