Last active
August 29, 2015 13:57
-
-
Save fredefox/9352326 to your computer and use it in GitHub Desktop.
Some nifty stuff for your shell.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Environment | |
export WORKSPACE="$HOME/workspace" | |
export LESSOPEN='|pygmentize %s' | |
export LESSCOLORIZER='pygmentize' | |
export EDITOR=vim | |
export VISUAL="subl -w" | |
export PAGER="less -SF" | |
# Aliases | |
alias e=subl | |
alias x='xdg-open' | |
# Functions | |
function zedit { | |
$EDITOR $HOME/.zshenv | |
source $HOME/.zshenv | |
} | |
function google-this { | |
URL="https://www.google.com/search?q=$1" | |
echo $URL | |
xdg-open $URL | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment