Rework profile/env for shells
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# trying the "portable install" option; using this launch script to point to that
|
||||
source "$XDG_CONFIG_HOME/zsh/.zshenv"
|
||||
. $XDG_CONFIG_HOME/profile
|
||||
|
||||
reaper_portable_exec_linux="$DIR_REAPER_PORTABLE_LINUX/REAPER/reaper"
|
||||
[[ ! -x "$reaper_portable_exec_linux" ]] && {
|
||||
|
||||
@@ -7,7 +7,7 @@ tmux_switch_to() {
|
||||
tmux_hydrate() {
|
||||
local tmux_hydrate_path="$XDG_CONFIG_HOME/tmux/.tmux-session-hydrate-default"
|
||||
[[ -f $2/.tmux-session-hydrate ]] && tmux_hydrate_path="$2/.tmux-session-hydrate"
|
||||
[[ -f $tmux_hydrate_path ]] && tmux send-keys -t $1 "source $tmux_hydrate_path" c-M
|
||||
[[ -f $tmux_hydrate_path ]] && tmux send-keys -t $1 ". $tmux_hydrate_path" c-M
|
||||
}
|
||||
|
||||
tmux_existing_sessions=$(tmux list-sessions 2> /dev/null || echo '')
|
||||
|
||||
Reference in New Issue
Block a user