mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
Compare commits
2 Commits
9bb33cfaee
...
eed9c143ea
| Author | SHA1 | Date | |
|---|---|---|---|
|
eed9c143ea
|
|||
|
d06648864e
|
@@ -98,7 +98,7 @@ export HISTFILE=$ZDOTDIR/history
|
||||
setopt autocd
|
||||
|
||||
# NOTE: This may be overriden in local env overrides (typically located in $XDG_DATA_HOME/zsh/env.zsh
|
||||
export CDPATH=".:$GHREPOS:$GHREPOS/ansible:$REPOS/github.com:$DOTFILES:$LOCAL_REPOS:$HOME"
|
||||
export CDPATH=".:$REPOS:$REPOS/ansible:$DOTFILES:$LOCAL_REPOS:$BUCKET:$HOME"
|
||||
|
||||
#------------------------------ options ------------------------------
|
||||
# (see `man zshoptions`)
|
||||
|
||||
@@ -34,7 +34,8 @@ function tns() {
|
||||
# create a session if it doesn't exist, in the background, so
|
||||
# that we can switch sessions.
|
||||
if ! tmux has-session -t "$session_name" 2> /dev/null; then
|
||||
tmux new-session -ds "$session_name" -c "$tmux_dir"
|
||||
tmux new-session -ds "$session_name" -c "$tmux_dir" -n "editor" "$EDITOR ."
|
||||
tmux new-window -d -n "terminal" -c "$tmux_dir"
|
||||
fi
|
||||
|
||||
# attach to the session or switch if it already exists.
|
||||
|
||||
Reference in New Issue
Block a user