diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-23 21:23:34 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-23 21:23:34 +1100 |
| commit | fd14efb7739961cf2d15057b96ef376c046e80f6 (patch) | |
| tree | d8dcace910ce07f7ace251d5dc96e4aace1eb88c /install/vscode.fish | |
| parent | scheme: light/dark mode (diff) | |
| download | caelestia-cli-fd14efb7739961cf2d15057b96ef376c046e80f6.tar.gz caelestia-cli-fd14efb7739961cf2d15057b96ef376c046e80f6.tar.bz2 caelestia-cli-fd14efb7739961cf2d15057b96ef376c046e80f6.zip | |
install: better link install
Remove links if not already linked before linking
Diffstat (limited to 'install/vscode.fish')
| -rwxr-xr-x | install/vscode.fish | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/vscode.fish b/install/vscode.fish index 1f4b6b1..56ddd39 100755 --- a/install/vscode.fish +++ b/install/vscode.fish @@ -3,6 +3,7 @@ . (dirname (status filename))/util.fish function confirm-copy -a from to + test -L $to -a (realpath $to) = (realpath $from) && return if test -e $to read -l -p "input '$(realpath $to) already exists. Overwrite? [y/N] ' -n" confirm test "$confirm" = 'y' -o "$confirm" = 'Y' && log 'Continuing.' || return |