fix ln in config-switch
This commit is contained in:
@@ -12,9 +12,9 @@ alt() {
|
||||
item=$1
|
||||
profile=$2
|
||||
if [[ -e $HOME/.config/.alt/${item}-${profile} ]]; then
|
||||
ln -svf ".alt/${item}-${profile}" "$HOME/.config/$item"
|
||||
ln -svfT ".alt/${item}-${profile}" "$HOME/.config/$item"
|
||||
elif [[ -e $HOME/.config/.alt/${item}-default ]]; then
|
||||
ln -svf ".alt/${item}-default" "$HOME/.config/$item"
|
||||
ln -svfT ".alt/${item}-default" "$HOME/.config/$item"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user