added sanity check in setup.sh
This commit is contained in:
parent
13d67c17f7
commit
daf864684e
4
.zshrc
4
.zshrc
|
@ -17,4 +17,8 @@ setopt auto_cd
|
||||||
alias l="ls"
|
alias l="ls"
|
||||||
alias lr="ls -ltr"
|
alias lr="ls -ltr"
|
||||||
alias ll="ls -las"
|
alias ll="ls -las"
|
||||||
|
setopt PROMPT_SUBST
|
||||||
|
export PROMPT='$(cdbm -add)'$PROMPT
|
||||||
|
function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; }
|
||||||
|
|
||||||
|
|
||||||
|
|
2
setup.sh
2
setup.sh
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cp Settings/.zshrc Settings/.vimrc Settings/.zprofile Settings/.gitconfig .
|
cp Settings/.zshrc Settings/.vimrc Settings/.zprofile Settings/.gitconfig .
|
||||||
|
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin; fi
|
||||||
|
cp Settings/cdbm /usr/local/bin
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue