mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Add tmuxp fzf launcher
This commit is contained in:
parent
d07b735820
commit
c1ecaff9b5
11
home/bin/executable_linux-tmuxp-launcher
Normal file
11
home/bin/executable_linux-tmuxp-launcher
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# https://github.com/starr-dusT/dotfiles
|
||||||
|
|
||||||
|
tmuxp_files() {
|
||||||
|
ls ~/.config/tmuxp -1
|
||||||
|
}
|
||||||
|
|
||||||
|
selected="$(tmuxp_files | sed 's/.yml//g' | sort | fzf -e -i -m --reverse --delimiter / --with-nth -1)"
|
||||||
|
[ -z "$selected" ] && exit
|
||||||
|
echo "$selected"
|
||||||
|
tmuxp load "~/.config/tmuxp/$selected.yml" -y
|
@ -8,10 +8,8 @@ alias nu="cd ~/.local/share/chezmoi/provision && \
|
|||||||
# sway
|
# sway
|
||||||
alias s='sway'
|
alias s='sway'
|
||||||
|
|
||||||
# tmuxinator
|
# tmuxp
|
||||||
alias tsplat='tmuxinator start splat'
|
alias t='linux-tmuxp-launcher'
|
||||||
alias tdot='tmuxinator start dot'
|
|
||||||
alias ttask='tmuxinator start task'
|
|
||||||
|
|
||||||
alias tw='linux-toggle-vpn'
|
alias tw='linux-toggle-vpn'
|
||||||
|
|
||||||
@ -36,3 +34,9 @@ alias cz="cd ~/documents/zet"
|
|||||||
alias n="nnn -r -e"
|
alias n="nnn -r -e"
|
||||||
alias cp="cpg -g"
|
alias cp="cpg -g"
|
||||||
alias mv="mvg -g"
|
alias mv="mvg -g"
|
||||||
|
|
||||||
|
# git
|
||||||
|
alias gs="git status"
|
||||||
|
alias gc="git commit"
|
||||||
|
alias ga="git add ."
|
||||||
|
alias gd="git diff"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
# https://github.com/starr-dusT/dotfiles
|
# https://github.com/starr-dusT/dotfiles
|
||||||
|
|
||||||
# Load the shell dotfiles (that are available)
|
# Load the shell dotfiles (that are available)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user