Compare commits
No commits in common. "cf94ba2e4bfda57e7233cb18a54c4e88956c24b8" and "7be3e952fc9fdd1e8299e66eabbde7ea0dc760bd" have entirely different histories.
cf94ba2e4b
...
7be3e952fc
|
@ -35,7 +35,7 @@ HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="fg=yellow"
|
|||
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND="fg=red"
|
||||
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_TIMEOUT=3
|
||||
|
||||
VI_MODE_RESET_PROMPT_ON_MODE_CHANGE=true
|
||||
VI_MODE_RESET_PROMT_ON_MODE_CHANGE=true
|
||||
VI_MODE_SET_CURSOR=true
|
||||
# Might cause issues?
|
||||
KEYTIMEOUT=1
|
||||
|
@ -53,30 +53,3 @@ export EDITOR=nvim
|
|||
# export GREP_COLORS="mt=01;32"
|
||||
|
||||
alias cl="clear"
|
||||
|
||||
if hash devcontainer 2>/dev/null; then
|
||||
dc() {
|
||||
ORIG_DIR="$PWD"
|
||||
while [[ "$PWD" != / ]] ; do
|
||||
if find "$PWD"/ -maxdepth 1 -type d -name ".devcontainer" | grep -q ".devcontainer"; then
|
||||
WORKSPACE_FOLDER="$PWD"
|
||||
builtin cd "$ORIG_DIR"
|
||||
devcontainer exec --workspace-folder "$WORKSPACE_FOLDER" $@
|
||||
return 0
|
||||
else
|
||||
builtin cd ..
|
||||
fi
|
||||
done
|
||||
builtin cd "$ORIG_DIR"
|
||||
echo "Unable to find workspace folder"
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
if hash pnpm 2>/dev/null; then
|
||||
export PNPM_HOME="/home/tim/.local/share/pnpm"
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user