♻ refactor(tmux): XDG Base Dir compliance
This commit is contained in:
parent
64610bda00
commit
3e07a9670c
3 changed files with 5 additions and 8 deletions
|
@ -40,7 +40,7 @@ set-option -g prefix C-a
|
|||
bind C-a send-prefix
|
||||
|
||||
# Easy reload config.
|
||||
bind r source-file ~/.tmux.conf \; display-message "Reloaded ~/.tmux.conf"
|
||||
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Reloaded ~/.config/tmux/tmux.conf"
|
||||
|
||||
# Better split commands.
|
||||
bind -N 'vsplit' | split-window -h -c "#{pane_current_path}"
|
||||
|
@ -143,9 +143,9 @@ set -g @catppuccin_date_time_text "%b %d • %I:%M %p"
|
|||
################################################################################
|
||||
|
||||
# Install tpm if not already installed.
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
if "test ! -d ~/.config/tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
# Init tmux plugin manager.
|
||||
# Must be very last line!!
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -57,7 +57,6 @@ Videos/
|
|||
.config/gh/hosts.yml
|
||||
.config/cheat/cheatsheets/community/
|
||||
.config/copyq/copyq_tab_JmNsaXBib2FyZA==.dat
|
||||
.tmux/plugins/
|
||||
.config/copyq/copyq-commands.ini
|
||||
.config/copyq/copyq-filter.ini
|
||||
.config/copyq/
|
||||
|
@ -68,8 +67,6 @@ data/
|
|||
.dot/
|
||||
.luarocks/lib/luarocks/rocks-5.4/manifest
|
||||
.config/pulse/cookie
|
||||
.gnupg/
|
||||
.config/nvim/lazy-lock.json
|
||||
.config/browsh/
|
||||
.config/qalculate/qalc.history
|
||||
.config/wireshark/
|
||||
|
@ -80,3 +77,4 @@ hackin/
|
|||
.config/composer/vendor/
|
||||
go/pkg
|
||||
.config/systemd/
|
||||
.config/tmux/plugins/
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946
|
Loading…
Reference in a new issue