Spring clean!

This commit is contained in:
marisa 2021-04-08 13:56:09 +02:00
parent cb77c767c4
commit 111c78b6e7
2 changed files with 13 additions and 1 deletions

View File

@ -105,7 +105,7 @@ font:
#style: Bold
# Point size
#size: 13.0
size: 14.0
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.

View File

@ -1,5 +1,6 @@
use path
use str
use platform
use github.com/zzamboni/elvish-modules/iterm2
use github.com/xiaq/edit.elv/smart-matcher
use github.com/zzamboni/elvish-modules/alias
@ -44,6 +45,11 @@ set-env PYTHONPATH (str:join ':' ["/Users/lu/.local/pipx/venvs/pdm/lib/python3.9
set-env TZ_LIST "Europe/Berlin;Berlin,America/New_York;US East,America/Los_Angeles;US West,Europe/London;London"
set-env MANPAGER "sh -c 'col -bx | bat -l man -p'"
# If Systemd is not installed and we're on Linux, set XDG_RUNTIME_DIR
if (and (eq (has-external systemctl) $false) $platform:is-unix) {
set-env XDG_RUNTIME_DIR /run/user/(id -u)
}
# Aliases
alias:new editconfig chezmoi edit ~/.elvish/rc.elv
alias:new reload eval (cat ~/.elvish/rc.elv | slurp)
@ -54,18 +60,24 @@ alias:new cwr cargo watch -x run
alias:new mkt cd (mktemp -d)
alias:new czm chezmoi
# Git aliases
alias:new g git
alias:new gaa git add --all
alias:new gs git status
alias:new gl git log --color --graph --abbrev-commit --oneline
alias:new gpl git pull
alias:new gps git push
alias:new gc git commit
# Mercurial aliases
alias:new h hg
alias:new ha hg addremove
alias:new hc hg commit
alias:new hps hg push
alias:new hpl hg pull
alias:new hs hg status
alias:new hl hg log
# XBPS aliases
alias:new xi sudo xbps-install
alias:new xq xbps-query
# Aliases that overwrite other, existing commands
alias:new ls exa