many changes
This commit is contained in:
@@ -122,7 +122,7 @@ fi
|
||||
# copying $HOME/.zshrc
|
||||
current_dir=$(dirname $(realpath "$0"))
|
||||
|
||||
if $(file "$HOME/.zshrc"); then
|
||||
if [ -f "$HOME/.zshrc" ]; then
|
||||
if $(file "$HOME/.zshrc" | grep -q "symbolic link") ; then
|
||||
if [[ $(readlink "$HOME/.zshrc") != "$current_dir/zshrc" ]]; then
|
||||
ln -sf "$current_dir/zshrc" "$HOME/.zshrc"
|
||||
|
Reference in New Issue
Block a user