added initDesktop
This commit is contained in:
parent
3eaf6ebbef
commit
92b7931caa
@ -12,11 +12,11 @@ set -aeo pipefail
|
|||||||
|
|
||||||
function new_log(){
|
function new_log(){
|
||||||
# script output
|
# script output
|
||||||
echo "\n**** [$*] ***"
|
printf "\n**** [$*] ***\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
function log(){
|
function log(){
|
||||||
echo "$*"
|
printf "$*\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
function gnome_key_bindings(){
|
function gnome_key_bindings(){
|
||||||
@ -42,7 +42,7 @@ function setup_dotfiles(){
|
|||||||
log "adding remote repo ($DOTFILES_REMOTE)"
|
log "adding remote repo ($DOTFILES_REMOTE)"
|
||||||
$dotf remote add origin "$DOTFILES_REMOTE"
|
$dotf remote add origin "$DOTFILES_REMOTE"
|
||||||
|
|
||||||
if [[ -f "$HOME/.bachrc" ]];then
|
if [[ -f "$HOME/.bashrc" ]];then
|
||||||
log "renaming local .bashrc to .bashrc.bak"
|
log "renaming local .bashrc to .bashrc.bak"
|
||||||
mv "$HOME/.bashrc" "$HOME/.bashrc.bak"
|
mv "$HOME/.bashrc" "$HOME/.bashrc.bak"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user