Use $REPOS
variable consistently in scripts
This commit is contained in:
parent
c8d21d28c1
commit
a2ed026258
4 changed files with 5 additions and 5 deletions
lib/shared
|
@ -97,8 +97,8 @@ in
|
|||
bind-key -T copy-mode-vi 'C-\' select-pane -l
|
||||
|
||||
bind-key -r F new-window t
|
||||
bind-key -r D run-shell "t ~/Code/dotfiles.nix"
|
||||
bind-key -r N run-shell "t ~/Code/opdavies.nvim"
|
||||
bind-key -r D run-shell "t $REPOS/dotfiles.nix"
|
||||
bind-key -r N run-shell "t $REPOS/opdavies.nvim"
|
||||
bind-key -r W run-shell "t ~/Documents/wiki"
|
||||
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
|
|
|
@ -10,5 +10,5 @@
|
|||
secrets = ''doppler --project "$(whoami)" run'';
|
||||
tag = "tag-release";
|
||||
wt = "git worktree";
|
||||
vss = "LC_ALL=C sort --unique ~/Code/opdavies.nvim/spell/en.utf-8.add --output ~/Code/personal/opdavies.nvim/spell/en.utf-8.add";
|
||||
vss = "LC_ALL=C sort --unique $REPOS/opdavies.nvim/spell/en.utf-8.add --output $REPOS/opdavies.nvim/spell/en.utf-8.add";
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
else
|
||||
# Get the session name from fuzzy-finding list of directories and generating a
|
||||
# tmux-safe version.
|
||||
items=$(find ~/Code ~/Documents /tmp \
|
||||
items=$(find "$REPOS" ~/Documents /tmp \
|
||||
-maxdepth 1 -mindepth 1 -type d \
|
||||
! -name "_archive" \
|
||||
! -name "*-old" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue