11 lines
342 B
Plaintext
11 lines
342 B
Plaintext
|
#!/usr/bin/env sh
|
||
|
|
||
|
machines_path="$DOTFILES_PATH/env/common/machines"
|
||
|
machine="$(
|
||
|
cd "$machines_path" && \
|
||
|
find ./ -mindepth 1 -maxdepth 1 -type d | \
|
||
|
cut -c3- | \
|
||
|
fzf --prompt "Choose your machine > ")"
|
||
|
ezln "$machines_path/$machine" "$ENV_PATH"
|
||
|
echo "Symlinked '$(realpath "$machines_path/$machine")' to your ENV_PATH ('$ENV_PATH')"
|