zsh completions
This commit is contained in:
parent
13f1c4c395
commit
aa14d4125c
@ -27,6 +27,7 @@ zstyle ':completion:*' squeeze-slashes true
|
|||||||
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate _prefix _list
|
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate _prefix _list
|
||||||
zstyle ':completion:*:match:*' original only
|
zstyle ':completion:*:match:*' original only
|
||||||
zstyle ':completion:*:approximate:*' max-errors 1 numeric
|
zstyle ':completion:*:approximate:*' max-errors 1 numeric
|
||||||
|
zstyle ':completion:*:*:(eza|ls):*' file-sort modification
|
||||||
|
|
||||||
zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS'
|
zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS'
|
||||||
zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS'
|
zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS'
|
||||||
|
|||||||
@ -10,6 +10,7 @@ readonly WORKING_PROJECT="${HOME}/dotfiles"
|
|||||||
if ! tmux has-session -t="${SESSION}"; then
|
if ! tmux has-session -t="${SESSION}"; then
|
||||||
tmux new-session -s "${SESSION}" -d -n "${MAINW}" -c "${WORKING_PROJECT}"
|
tmux new-session -s "${SESSION}" -d -n "${MAINW}" -c "${WORKING_PROJECT}"
|
||||||
tmux splitw -t "${SESSION}:${MAINW}" -d -b -h -l "${_tmux_other_pane_size}" -c '#{pane_current_path}'
|
tmux splitw -t "${SESSION}:${MAINW}" -d -b -h -l "${_tmux_other_pane_size}" -c '#{pane_current_path}'
|
||||||
|
sleep 0.3
|
||||||
tmux send-keys -t "${SESSION}:${MAINW}.1" "git pull --rebase && git push" Enter
|
tmux send-keys -t "${SESSION}:${MAINW}.1" "git pull --rebase && git push" Enter
|
||||||
tmux send-keys -t "${SESSION}:${MAINW}.2" '$EDITOR' Enter
|
tmux send-keys -t "${SESSION}:${MAINW}.2" '$EDITOR' Enter
|
||||||
tmux send-keys -t "${SESSION}:${MAINW}.2" ':Telescope find_files' Enter
|
tmux send-keys -t "${SESSION}:${MAINW}.2" ':Telescope find_files' Enter
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user