Export PROJECT_NAME

This commit is contained in:
Daniel Lynn 2023-04-17 13:16:31 -05:00
parent 2f660be4b3
commit 113f4e70ad
Signed by: daniel
GPG Key ID: 28496A140E180A9D
2 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,7 @@ if (( $+commands[zellij] )); then
ide() {
local layout="${ZELLIJ_LAYOUT:-${HOME}/.config/zellij/layouts/project.kdl}"
local name="${PWD##*/}"
local name="${name:-/}"
local name="${PROJECT_NAME:-/}"
if (( ${+ZELLIJ} )); then
# FIXME: https://github.com/zellij-org/zellij/issues/2299

1
zshenv
View File

@ -8,6 +8,7 @@ export HELIX_RUNTIME="$HOME/src/helix/runtime"
export NVM_DIR="$HOME/.nvm"
export SKIM_DEFAULT_COMMAND="git ls-tree -r --name-only HEAD || rg --files"
export VISUAL="helix"
export PROJECT_NAME="${PWD##*/}"
fpath+=(~/.zsh/completions)