1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-14 08:39:02 -08:00

more consistent indentation

This commit is contained in:
Connor Olding 2013-07-01 18:05:17 -07:00
parent ea6c0463cf
commit ee4c02ea5b
6 changed files with 105 additions and 105 deletions

View file

@ -57,8 +57,8 @@ for r in $rc/ssh/* $rc/config/menus/*; do
hardlink "$f" "$r" hardlink "$f" "$r"
done done
grep .bashrc .bash_profile >/dev/null 2>&1 || \ grep .bashrc .bash_profile >/dev/null 2>&1 \
echo -e '\n[[ -f ~/.bashrc ]] && . ~/.bashrc' >> .bash_profile || echo -e '\n[[ -f ~/.bashrc ]] && . ~/.bashrc' >> .bash_profile
for d in Desktop Documents Downloads Music Pictures Public Templates Video; do for d in Desktop Documents Downloads Music Pictures Public Templates Video; do
[ -d "$d" ] || continue [ -d "$d" ] || continue

View file

@ -8,7 +8,7 @@ if [ -n "${ZSH_VERSION:-}" ]; then
} }
else else
confirm() { confirm() {
# manually specify stdin (1) to avoid taking input from pipes # specify stdin (1) to avoid taking input from pipes
read -n1 -u 1 -p "Continue? [Y/n] " c read -n1 -u 1 -p "Continue? [Y/n] " c
echo echo
[ "$c" != 'y' ] && [ "$c" != 'Y' ] && return 1 [ "$c" != 'y' ] && [ "$c" != 'Y' ] && return 1