mirror of
https://github.com/notwa/rc
synced 2024-11-13 20:29:02 -08:00
more consistent indentation
This commit is contained in:
parent
ea6c0463cf
commit
ee4c02ea5b
6 changed files with 105 additions and 105 deletions
4
init.sh
4
init.sh
|
@ -57,8 +57,8 @@ for r in $rc/ssh/* $rc/config/menus/*; do
|
|||
hardlink "$f" "$r"
|
||||
done
|
||||
|
||||
grep .bashrc .bash_profile >/dev/null 2>&1 || \
|
||||
echo -e '\n[[ -f ~/.bashrc ]] && . ~/.bashrc' >> .bash_profile
|
||||
grep .bashrc .bash_profile >/dev/null 2>&1 \
|
||||
|| echo -e '\n[[ -f ~/.bashrc ]] && . ~/.bashrc' >> .bash_profile
|
||||
|
||||
for d in Desktop Documents Downloads Music Pictures Public Templates Video; do
|
||||
[ -d "$d" ] || continue
|
||||
|
|
|
@ -8,7 +8,7 @@ if [ -n "${ZSH_VERSION:-}" ]; then
|
|||
}
|
||||
else
|
||||
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
|
||||
echo
|
||||
[ "$c" != 'y' ] && [ "$c" != 'Y' ] && return 1
|
||||
|
|
Loading…
Reference in a new issue