Export PROJECT_NAME
This commit is contained in:
parent
2f660be4b3
commit
113f4e70ad
@ -20,8 +20,7 @@ if (( $+commands[zellij] )); then
|
|||||||
|
|
||||||
ide() {
|
ide() {
|
||||||
local layout="${ZELLIJ_LAYOUT:-${HOME}/.config/zellij/layouts/project.kdl}"
|
local layout="${ZELLIJ_LAYOUT:-${HOME}/.config/zellij/layouts/project.kdl}"
|
||||||
local name="${PWD##*/}"
|
local name="${PROJECT_NAME:-/}"
|
||||||
local name="${name:-/}"
|
|
||||||
|
|
||||||
if (( ${+ZELLIJ} )); then
|
if (( ${+ZELLIJ} )); then
|
||||||
# FIXME: https://github.com/zellij-org/zellij/issues/2299
|
# FIXME: https://github.com/zellij-org/zellij/issues/2299
|
||||||
|
1
zshenv
1
zshenv
@ -8,6 +8,7 @@ export HELIX_RUNTIME="$HOME/src/helix/runtime"
|
|||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
export SKIM_DEFAULT_COMMAND="git ls-tree -r --name-only HEAD || rg --files"
|
export SKIM_DEFAULT_COMMAND="git ls-tree -r --name-only HEAD || rg --files"
|
||||||
export VISUAL="helix"
|
export VISUAL="helix"
|
||||||
|
export PROJECT_NAME="${PWD##*/}"
|
||||||
|
|
||||||
fpath+=(~/.zsh/completions)
|
fpath+=(~/.zsh/completions)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user