diff --git a/.gitignore b/.gitignore index 8a58357..8881dcd 100644 --- a/.gitignore +++ b/.gitignore @@ -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/* diff --git a/zsh/ssh-menu b/bin/ssh-menu similarity index 100% rename from zsh/ssh-menu rename to bin/ssh-menu diff --git a/tmux/tmux-ggclone b/tmux/scripts/tmux-ggclone similarity index 100% rename from tmux/tmux-ggclone rename to tmux/scripts/tmux-ggclone diff --git a/tmux/tmux-new-project b/tmux/scripts/tmux-new-project similarity index 100% rename from tmux/tmux-new-project rename to tmux/scripts/tmux-new-project diff --git a/tmux/tmux-sessionizer b/tmux/scripts/tmux-sessionizer similarity index 100% rename from tmux/tmux-sessionizer rename to tmux/scripts/tmux-sessionizer diff --git a/tmux/tmux-ssher b/tmux/scripts/tmux-ssher similarity index 100% rename from tmux/tmux-ssher rename to tmux/scripts/tmux-ssher diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 4cde960..e1e2d6c 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -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" diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 1a071e6..338ca46 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -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}}'" diff --git a/zsh/scripts.zsh b/zsh/scripts.zsh index 8d3446d..a68cb66 100644 --- a/zsh/scripts.zsh +++ b/zsh/scripts.zsh @@ -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