Skip to content

Instantly share code, notes, and snippets.

@FirePanther
Last active December 18, 2015 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FirePanther/42b2b5e2f43360888d90 to your computer and use it in GitHub Desktop.
Save FirePanther/42b2b5e2f43360888d90 to your computer and use it in GitHub Desktop.
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
export EDITOR=nano
export ANDROID_HOME=/usr/local/opt/android-sdk
##################
# export PS1='\033]0;$PWD\007\[\033[01;31m\]\u\[\033[m\] \[\e[34;1m\]\w \[\033[m\]\$ \[\033[m\]'
export PS1='\[\033[01;32m\]\w
\[\033[01;31m\]\u $ \[\033[00m\]'
umask 022
##################
export LS_OPTIONS='-h'
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
alias ..='cd ..'
alias ...='cd ../..'
alias s='ssh -l root'
alias myip="ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'"
##################
gitd() {
cd ~/Documents/Git/$1
if [ !$1 ]; then
ls
fi
}
desk() {
cd ~/Desktop/$1
if [ !$1 ]; then
ls
fi
}
phptest() {
cd ~/Desktop
if [ ! -f phptest.php ]
then
echo -e "<?php\n\n\n" > phptest.php
echo "echo \"\n\";" >> phptest.php
open phptest.php
fi
php -f phptest.php
}
alias ar='sudo apachectl restart'
alias fpsearch='php ~/Dropbox/Commands/fpsearch.php'
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/mysql/bin:$HOME/Dropbox/Commands/executables
# MacPorts Installer addition on 2014-03-24_at_17:18:35: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment