added sanity check in setup.sh

This commit is contained in:
tracer 2020-01-03 12:23:17 +01:00
parent 13d67c17f7
commit daf864684e
2 changed files with 6 additions and 0 deletions

4
.zshrc
View File

@ -17,4 +17,8 @@ setopt auto_cd
alias l="ls"
alias lr="ls -ltr"
alias ll="ls -las"
setopt PROMPT_SUBST
export PROMPT='$(cdbm -add)'$PROMPT
function c() { dir=$(cdbm 3>&1 1>&2 2>&3); cd $dir; }

View File

@ -1,4 +1,6 @@
#!/bin/sh
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