Compare commits

..

2 commits

Author SHA1 Message Date
ea45dfea50 Add shell alias to set wezterm variables 2024-02-28 23:21:03 +01:00
ff41ab8db3 Switch git editor to nvim 2024-02-28 23:20:53 +01:00
2 changed files with 10 additions and 1 deletions

View file

@ -2,7 +2,7 @@
# [include] # [include]
# path = $HOME/path/to/this/file # path = $HOME/path/to/this/file
[core] [core]
editor = vim -f editor = nvim -f
excludesfile = .gitignore.local excludesfile = .gitignore.local
[commit] [commit]
# Sign commits by default # Sign commits by default

View file

@ -20,6 +20,15 @@ alias setclip='xclip -selection c'
alias tmux='tmux -2' alias tmux='tmux -2'
alias w='watch -t -d -n 1' alias w='watch -t -d -n 1'
alias wmu='wake-me-up' alias wmu='wake-me-up'
if [ "$TERM_PROGRAM" = "WezTerm" ]
then wezvar() {
name="$1"; shift
value="$*"
printf "\033]1337;SetUserVar=%s=%s\007" "$name" $(echo -n "$value" | base64)
}
fi
pp() { pp() {
cd $(find-git-project $HOME/workspace "$@") cd $(find-git-project $HOME/workspace "$@")
} }