From 42cf685729c76a6e2bee9ddaf14324e7fb6dbe9c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 4 Jan 2018 14:16:16 -0200 Subject: Inception: fix apps/dotfiles symlink handling --- inception | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inception') diff --git a/inception b/inception index a5e4c5f..cd9319f 100755 --- a/inception +++ b/inception @@ -36,7 +36,7 @@ function inception_init { if [ ! -h "$HOME/.dotfiles" ] || [ "`readlink $HOME/.dotfiles`" != "apps/dotfiles" ]; then mkdir -p $BACKUPS mv $HOME/.dotfiles $BACKUPS/ - ( cd $HOME && ln -s $HOME/apps/dotfiles .dotfiles ) + ( cd $HOME &> /dev/null && ln -s apps/dotfiles .dotfiles ) fi fi -- cgit v1.2.3