mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
fix stuff
This commit is contained in:
parent
e47db099b9
commit
48be4c14c5
5 changed files with 11 additions and 18 deletions
|
|
@ -1,10 +1,9 @@
|
|||
# default bash autocompletion
|
||||
bash_completion_file="/etc/bash_completion"
|
||||
if which brew 2>/dev/null >/dev/null; then
|
||||
bash_completion_file="`brew --prefix`$bash_completion_file"
|
||||
#/etc/bash_completion
|
||||
#/usr/local/share/bash-completion/bash_completion
|
||||
bash_completion_file="/usr/local/etc/bash_completion"
|
||||
if [[ -f "$bash_completion_file" ]]; then
|
||||
source "$bash_completion_file"
|
||||
fi
|
||||
[[ -f $bash_completion_file ]] || unset bash_completion_file
|
||||
[[ -n "$bash_completion_file" ]] && source "$bash_completion_file"
|
||||
unset bash_completion_file
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ set convert-meta off
|
|||
|
||||
# useful with XDG/MacOSX folders
|
||||
set completion-ignore-case on
|
||||
#set show-all-if-ambiguous
|
||||
set show-all-if-ambiguous on
|
||||
set show-all-if-unmodified on
|
||||
#set visible-stats on
|
||||
#set page-completions off
|
||||
|
||||
# home/end, pageup/dn, ins/del
|
||||
"\e[1~": beginning-of-line
|
||||
|
|
|
|||
|
|
@ -1,11 +1,3 @@
|
|||
# local path
|
||||
PATH=/usr/local/bin:/usr/local/sbin:$PATH
|
||||
|
||||
# node.js path
|
||||
NODE_PATH=/usr/local/lib/node
|
||||
export NODE_PATH
|
||||
PATH=$PATH:/usr/local/share/npm/bin
|
||||
|
||||
# go
|
||||
PATH=$PATH:/usr/local/opt/go/libexec/bin
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
# OS X python user path
|
||||
PATH=~/Library/Python/2.7/bin:$PATH
|
||||
export PATH
|
||||
2
zsh/rc
2
zsh/rc
|
|
@ -14,6 +14,8 @@ source $DOTFILES_ZSH_DIR/prompt
|
|||
source $DOTFILES_SHELL_DIR/bundler
|
||||
source $DOTFILES_SHELL_DIR/go
|
||||
|
||||
set -o ignoreeof
|
||||
|
||||
source $DOTFILES_SHELL_DIR/git_prompt_info
|
||||
GIT_PS1_SHOWDIRTYSTATE=1
|
||||
GIT_PS1_SHOWSTASHSTATE=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue