refactor: reorganize scripts to idiomatic locations
This commit is contained in:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -17,7 +17,6 @@ zsh/*
|
||||
!zsh/.zprofile
|
||||
!zsh/scripts.zsh
|
||||
!zsh/aliases.zsh
|
||||
!zsh/ssh-menu
|
||||
|
||||
# starship
|
||||
!starship
|
||||
@@ -28,10 +27,7 @@ starship/*
|
||||
!tmux
|
||||
tmux/*
|
||||
!tmux/tmux.conf
|
||||
!tmux/tmux-new-project
|
||||
!tmux/tmux-sessionizer
|
||||
!tmux/tmux-ggclone
|
||||
!tmux/tmux-ssher
|
||||
!tmux/scripts
|
||||
|
||||
# git
|
||||
!git
|
||||
@@ -64,6 +60,11 @@ swaylock/*
|
||||
swayidle/*
|
||||
!swayidle/config
|
||||
|
||||
# bin
|
||||
!bin
|
||||
bin/*
|
||||
!bin/ssh-menu
|
||||
|
||||
# flameshot
|
||||
!flameshot
|
||||
flameshot/*
|
||||
|
||||
@@ -39,16 +39,16 @@ bind l select-pane -R
|
||||
bind r source-file "$XDG_CONFIG_HOME/tmux/tmux.conf"
|
||||
|
||||
# sessionizer
|
||||
bind f run-shell "tmux neww ~/.config/tmux/tmux-sessionizer"
|
||||
bind R run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~"
|
||||
bind g run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/.config"
|
||||
bind T run-shell "tmux neww ~/.config/tmux/tmux-sessionizer ~/temp"
|
||||
bind f run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer"
|
||||
bind R run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~"
|
||||
bind g run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~/.config"
|
||||
bind T run-shell "tmux neww ~/.config/tmux/scripts/tmux-sessionizer ~/temp"
|
||||
|
||||
# clone
|
||||
bind G run-shell "tmux neww ~/.config/tmux/tmux-ggclone"
|
||||
bind G run-shell "tmux neww ~/.config/tmux/scripts/tmux-ggclone"
|
||||
|
||||
# ssh
|
||||
bind F run-shell "tmux neww ~/.config/tmux/tmux-ssher"
|
||||
bind F run-shell "tmux neww ~/.config/tmux/scripts/tmux-ssher"
|
||||
|
||||
# project
|
||||
bind N run-shell "tmux neww ~/.config/tmux/tmux-new-project"
|
||||
bind N run-shell "tmux neww ~/.config/tmux/scripts/tmux-new-project"
|
||||
|
||||
@@ -3,7 +3,7 @@ alias t=tmux_attach
|
||||
|
||||
alias n=nvim
|
||||
|
||||
alias s="ssh-menu"
|
||||
alias s="~/.config/bin/ssh-menu"
|
||||
|
||||
# docker
|
||||
alias dp="docker ps --format 'table {{.Names}}\t{{.Ports}}'"
|
||||
|
||||
@@ -26,7 +26,7 @@ function tmux_attach {
|
||||
fi
|
||||
|
||||
if [[ -z $tmux_running ]]; then
|
||||
~/.config/tmux/tmux-sessionizer ~
|
||||
~/.config/tmux/scripts/tmux-sessionizer ~
|
||||
else
|
||||
tmux a
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user