diff options
| author | ruki <[email protected]> | 2023-03-03 22:50:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-03 22:50:30 +0800 |
| commit | 317910e7d4c19fc5aa461edea90cda0f2b16bc25 (patch) | |
| tree | c4f912b64c4811ba08d85c60e58df63a23fe3b71 /xmake/scripts/profile-unix.sh | |
| parent | 409fe90b6fa9a58e7bc34471ecbab945399235e7 (diff) | |
improve fish profile
Diffstat (limited to 'xmake/scripts/profile-unix.sh')
| -rw-r--r-- | xmake/scripts/profile-unix.sh | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/xmake/scripts/profile-unix.sh b/xmake/scripts/profile-unix.sh index 2e1f5b1d2..c3e62a734 100644 --- a/xmake/scripts/profile-unix.sh +++ b/xmake/scripts/profile-unix.sh @@ -18,23 +18,13 @@ # @homepage profile-unix.sh # -# enable bash compatibility for fish -set -U fish_compatibility shell - # register completions if [[ "$SHELL" = */zsh ]]; then . "$XMAKE_PROGRAM_DIR/scripts/completions/register-completions.zsh" elif [[ "$SHELL" = */bash ]]; then . "$XMAKE_PROGRAM_DIR/scripts/completions/register-completions.bash" -elif [[ "$SHELL" = */fish ]]; then - . "$XMAKE_PROGRAM_DIR/scripts/completions/register-completions.fish" fi # register virtualenvs -if [[ "$SHELL" = */fish ]]; then -# TODO -# . "$XMAKE_PROGRAM_DIR/scripts/virtualenvs/register-virtualenvs.fish" -else - . "$XMAKE_PROGRAM_DIR/scripts/virtualenvs/register-virtualenvs.sh" -fi +. "$XMAKE_PROGRAM_DIR/scripts/virtualenvs/register-virtualenvs.sh" |
