mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 08:24:11 -06:00
feat: add chezmoi cd alias and separate interactive apply command
This commit is contained in:
@@ -20,8 +20,10 @@ abbr -a chlg 'lazygit --path ~/.local/share/chezmoi'
|
|||||||
abbr -a es 'exec fish'
|
abbr -a es 'exec fish'
|
||||||
|
|
||||||
# Chezmoi
|
# Chezmoi
|
||||||
abbr -a cha 'chezmoi apply --interactive'
|
abbr -a cha 'chezmoi apply'
|
||||||
|
abbr -a chai 'chezmoi apply --interactive'
|
||||||
abbr -a ch 'chezmoi'
|
abbr -a ch 'chezmoi'
|
||||||
|
alias cdc='chezmoi cd'
|
||||||
|
|
||||||
# Remote Management
|
# Remote Management
|
||||||
abbr -a romanlog "ssh roman 'tail -F /var/log/syslog' --lines 100"
|
abbr -a romanlog "ssh roman 'tail -F /var/log/syslog' --lines 100"
|
||||||
|
|||||||
@@ -16,8 +16,10 @@ alias chlg='lazygit --path ~/.local/share/chezmoi'
|
|||||||
alias es='exec $SHELL'
|
alias es='exec $SHELL'
|
||||||
|
|
||||||
# Chezmoi
|
# Chezmoi
|
||||||
alias cha='chezmoi apply --interactive'
|
alias cha='chezmoi apply'
|
||||||
|
alias chai='chezmoi apply --interactive'
|
||||||
alias ch='chezmoi'
|
alias ch='chezmoi'
|
||||||
|
alias cdc='chezmoi cd'
|
||||||
chshow() {
|
chshow() {
|
||||||
target=$(find {{ .chezmoi.sourceDir | quote }} -name "*.tmpl" -type f | fzf)
|
target=$(find {{ .chezmoi.sourceDir | quote }} -name "*.tmpl" -type f | fzf)
|
||||||
cat $target | chezmoi execute-template
|
cat $target | chezmoi execute-template
|
||||||
|
|||||||
Reference in New Issue
Block a user