-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: add profile file, and adapt bash/zsh/fish... (#69)
- #66 1. independent xlings profile 2. auto config for local shell Signed-off-by: sunrisepeak <[email protected]>
- Loading branch information
1 parent
3c2b72e
commit 6435075
Showing
3 changed files
with
63 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Xlings | ||
set -x XLINGS_HOME "$HOME/.xlings" | ||
set -x XLINGS_DATA "$HOME/.xlings_data" | ||
set -x XLINGS_BIN "$HOME/.xlings_data/bin" | ||
set -x PATH "$XLINGS_BIN" $PATH | ||
|
||
# XVM | ||
set -x XVM_WORKSPACE_NAME "global" | ||
|
||
# Function to update the workspace name | ||
function xvm-workspace | ||
set -x XVM_WORKSPACE_NAME $argv[1] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Xlings | ||
export XLINGS_HOME="$HOME/.xlings" | ||
export XLINGS_DATA="$HOME/.xlings_data" | ||
export XLINGS_BIN="$HOME/.xlings_data/bin" | ||
export PATH="$XLINGS_BIN:$PATH" | ||
|
||
# XVM | ||
export XVM_WORKSPACE_NAME="global" | ||
|
||
# Function to update the workspace name | ||
xvm-workspace() { | ||
export XVM_WORKSPACE_NAME="$1" | ||
} |