1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Compare commits

...

4 Commits

Author SHA1 Message Date
c5ecd6c98d Fix memory reporting 2025-12-16 16:14:40 +01:00
a939dfe553 Alias I keep forgetting 2025-10-27 16:59:28 +01:00
47436ddc59 Missed modules 2025-05-30 13:23:31 +02:00
4bd7364423 Add PKGBUILD handling 2025-05-30 13:22:40 +02:00
4 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View File

@@ -61,3 +61,6 @@
[submodule "zsh/.config/zsh/plugins/zsh-auto-notify"] [submodule "zsh/.config/zsh/plugins/zsh-auto-notify"]
path = zsh/.config/zsh/plugins/zsh-auto-notify path = zsh/.config/zsh/plugins/zsh-auto-notify
url = https://github.com/MichaelAquilina/zsh-auto-notify.git url = https://github.com/MichaelAquilina/zsh-auto-notify.git
[submodule "vim/.vim/pack/bundle/start/vim-pkgbuild"]
path = vim/.vim/pack/bundle/start/vim-pkgbuild
url = https://github.com/m-pilia/vim-pkgbuild.git

View File

@@ -54,6 +54,7 @@ fun! StripTrailingWhitespace()
endfun endfun
autocmd BufWritePre * call StripTrailingWhitespace() autocmd BufWritePre * call StripTrailingWhitespace()
autocmd filetype pkgbuild setlocal tabstop=2 shiftwidth=2 expandtab
" Keep backup files etc out of the way " Keep backup files etc out of the way
set undofile set undofile

View File

@@ -85,6 +85,9 @@ alias nrc='nix shell --file default.nix -c'
alias gcs='gcloud compute ssh --tunnel-through-iap' alias gcs='gcloud compute ssh --tunnel-through-iap'
alias gscp='gcloud compute scp --tunnel-through-iap' alias gscp='gcloud compute scp --tunnel-through-iap'
alias gci='gcloud compute instances' alias gci='gcloud compute instances'
# This invocation is so much more complicated than it needs to be, but
# Google will only show mountain time otherwise.
alias gops='gcloud compute operations list --format=":(TIMESTAMP.date(tz=LOCAL))" --sort-by=TIMESTAMP'
# Not an alias but useful nonetheless. # Not an alias but useful nonetheless.
function pasters() { function pasters() {
@@ -116,6 +119,7 @@ source "${ZDOTDIR:-$HOME}/.zshtheme"
# of RAM # of RAM
REPORTTIME=10 REPORTTIME=10
REPORTMEMORY=10240 REPORTMEMORY=10240
TIMEFMT='%J %U user %S system %P cpu %*E total; max RSS %MkB'
# Setup the CNF hook # Setup the CNF hook
if [[ -s /usr/share/doc/pkgfile/command-not-found.zsh ]]; then if [[ -s /usr/share/doc/pkgfile/command-not-found.zsh ]]; then