Skip to content

Commit

Permalink
Update from local config
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinSuttle committed Sep 1, 2016
1 parent 644c17c commit 72caa7f
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 1 deletion.
8 changes: 8 additions & 0 deletions aliases
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ alias sz='source ~/.zshrc'
# Hiding and showing files in Finder
alias shf="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
alias hhf="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"

## npm: list globally-installed packages
alias nlg="npm list -g --depth=0"

## elm
alias em="elm-make"
alias er="elm-reactor"
alias ep="elm-package"
2 changes: 2 additions & 0 deletions bash/extras.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[ -f /etc/bash_completion ] && source /etc/bash_completion

test -e ${HOME}/.iterm2_shell_integration.bash && source ${HOME}/.iterm2_shell_integration.bash

~/.rbenv/completions/rbenv.bash
14 changes: 14 additions & 0 deletions colors
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@ if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/n
elif infocmp xterm-256color >/dev/null 2>&1; then
export TERM='xterm-256color';
fi;

# Colorized man pages
# https://gist.github.com/cocoalabs/2fb7dc2199b0d4bf160364b8e557eb66#gistcomment-1850830
man() {
LESS_TERMCAP_mb=$'\e'"[1;31m" \
LESS_TERMCAP_md=$'\e'"[1;31m" \
LESS_TERMCAP_me=$'\e'"[0m" \
LESS_TERMCAP_se=$'\e'"[0m" \
LESS_TERMCAP_so=$'\e'"[1;44;33m" \
LESS_TERMCAP_ue=$'\e'"[0m" \
LESS_TERMCAP_us=$'\e'"[1;32m" \
command man "$@"
}

1 change: 1 addition & 0 deletions zsh/prompt.zsh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://www.npmjs.com/package/pure-prompt
autoload -U promptinit && promptinit

PURE_PROMPT_SYMBOL=${PROMPT_CHARACTER}
Expand Down
4 changes: 3 additions & 1 deletion zshrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
source ~/.config/env
source $XDG_CONFIG_HOME/local
source $XDG_CONFIG_HOME/env

source $XDG_CONFIG_HOME/aliases
source $XDG_CONFIG_HOME/colors
source $XDG_CONFIG_HOME/extras
Expand Down

0 comments on commit 72caa7f

Please # to comment.