mirror of
https://github.com/whyour/qinglong.git
synced 2026-01-27 10:25:40 +08:00
Revert changes - linkCommandToDir already handles symlink creation
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
This commit is contained in:
parent
b87fe2ebf0
commit
8d5e485cd6
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
export PATH="$HOME/bin:$PATH"
|
export PATH="$HOME/bin:$PATH"
|
||||||
|
|
||||||
# Create bin directory and symlinks for ql and task commands
|
|
||||||
mkdir -p "$HOME/bin"
|
|
||||||
ln -sf /ql/shell/ql.sh "$HOME/bin/ql"
|
|
||||||
ln -sf /ql/shell/task.sh "$HOME/bin/task"
|
|
||||||
|
|
||||||
dir_shell=/ql/shell
|
dir_shell=/ql/shell
|
||||||
. $dir_shell/share.sh
|
. $dir_shell/share.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if [[ -z "$QL_DIR" ]]; then
|
|
||||||
echo "Error: QL_DIR environment variable is not set"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dir_shell="$QL_DIR/shell"
|
|
||||||
. "$dir_shell/update.sh" "$@"
|
|
||||||
Loading…
Reference in New Issue
Block a user