Compare commits

...

2 Commits

Author SHA1 Message Date
Talia ea45dfea50 Add shell alias to set wezterm variables 2024-02-28 23:21:03 +01:00
Talia 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]
# path = $HOME/path/to/this/file
[core]
editor = vim -f
editor = nvim -f
excludesfile = .gitignore.local
[commit]
# Sign commits by default

View File

@ -20,6 +20,15 @@ alias setclip='xclip -selection c'
alias tmux='tmux -2'
alias w='watch -t -d -n 1'
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() {
cd $(find-git-project $HOME/workspace "$@")
}