Miscellany

This commit is contained in:
Trevor Vallender 2024-04-30 08:49:51 +01:00
parent 5d76b8ce01
commit d7d155178c
5 changed files with 9 additions and 4 deletions

View File

@ -16,3 +16,6 @@ CFLAGS="-Wall -Werror -Wextra"
alias cc="gcc ${CFLAGS}" alias cc="gcc ${CFLAGS}"
alias update_ruby_build="git -C "$(rbenv root)"/plugins/ruby-build pull" alias update_ruby_build="git -C "$(rbenv root)"/plugins/ruby-build pull"
alias irc="ssh kernighan -t tmux attach -t irc" alias irc="ssh kernighan -t tmux attach -t irc"
alias krc="kamal app exec -i --reuse 'bin/rails c'"
alias krd="kamal app exec -i --reuse 'bin/rails dbconsole'"
alias krb="kamal app exec -i --reuse 'bash'"

View File

@ -104,6 +104,6 @@ if ! shopt -oq posix; then
fi fi
fi fi
eval "$(rbenv init - bash)" eval "$(~/.rbenv/bin/rbenv init - bash)"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash [ -f ~/.fzf.bash ] && source ~/.fzf.bash

View File

@ -19,8 +19,8 @@
br = branch br = branch
cb = clone --bare cb = clone --bare
cp = cherry-pick cp = cherry-pick
# Show all commits on the current branch but not develop # Show all commits on the current branch but not main
curr = "!git log --no-merges \"$(git rev-parse --abbrev-ref HEAD)\" ^develop" curr = "!git log --no-merges \"$(git rev-parse --abbrev-ref HEAD)\" ^main"
co = checkout co = checkout
cm = commit cm = commit
cma = commit --amend cma = commit --amend

View File

@ -4,7 +4,8 @@ windowrule = workspace 1, alacritty
windowrule = workspace 2, firefox windowrule = workspace 2, firefox
windowrule = workspace 2, qutebrowser windowrule = workspace 2, qutebrowser
windowrule = workspace 2, ^(.*)(Chrom)(.*)$ windowrule = workspace 2, ^(.*)(Chrom)(.*)$
windowrule = workspace 2, thunderbird windowrule = workspace 3, thunderbird
windowrule = workspace 3, "flatpak run com.spotify.Client"
exec-once = eww daemon && eww open bar exec-once = eww daemon && eww open bar
exec-once = qutebrowser exec-once = qutebrowser

View File

@ -8,6 +8,7 @@ set.number = true
set.relativenumber = true set.relativenumber = true
set.cursorline = true set.cursorline = true
set.termguicolors = true set.termguicolors = true
set.grepprg = 'rg --vimgrep --smart-case'
-- Improve terminal setup -- Improve terminal setup
vim.api.nvim_command("autocmd TermOpen * startinsert") vim.api.nvim_command("autocmd TermOpen * startinsert")