Migrate to chezmoi
Move config files from config to chezmoi Add script to auto install packages with DNF and Cargo
This commit is contained in:
parent
110e0882c6
commit
224c7ed45c
1654 changed files with 470035 additions and 51 deletions
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --header='Select a command.'"
|
||||
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$CURRENT_DIR/.envs"
|
||||
|
||||
target_origin=$(tmux list-commands)
|
||||
target=$(printf "[cancel]\n%s" "$target_origin" | eval "$TMUX_FZF_BIN $TMUX_FZF_OPTIONS" | grep -o '^[^[:blank:]]*')
|
||||
|
||||
[[ "$target" == "[cancel]" || -z "$target" ]] && exit
|
||||
tmux command-prompt -I "$target"
|
||||
Loading…
Add table
Add a link
Reference in a new issue