Some nice developer environment bits

This commit is contained in:
Trevor Vallender 2023-09-17 15:58:45 +01:00
parent 93b08a5628
commit d3c372c350
3 changed files with 6 additions and 0 deletions

View File

@ -22,12 +22,14 @@ alias pubip="curl -4 icanhazip.com"
alias less="less -r"
[[ -f ~/.LESS_TERMCAP ]] && . ~/.LESS_TERMCAP
alias checkport="sudo netstat -tnlp | grep"
alias de="devenv"
alias dockerpurge="docker system prune --all --force --volumes"
alias dockerkill="docker stop \`docker ps -a -q\`"
alias vi="nvim"
alias tp="$HOME/bin/tmux_pair.bash"
alias tpdf="termpdf.py"
alias tn="tmux new-window -n"
alias genpdf="pandoc -o migration.pdf -t ms"
# Prompt setup
GIT_PS1_SHOWDIRTYSTATE=1

View File

@ -13,6 +13,7 @@
ap = add --patch
aap = !git add --intent-to-add . && git add --patch
br = branch
cb = clone --bare
co = checkout
cm = commit
cma = commit --amend
@ -30,6 +31,8 @@
st = status
tree = log --oneline --graph --decorate --all
undo-commit = reset --soft HEAD~
wa = worktree add
wr = worktree remove
[init]
defaultBranch = main
[interactive]

View File

@ -39,6 +39,7 @@
friendly-snippets # Collection of predefined snippets
fugitive-gitlab-vim
git-messenger-vim
git-worktree-nvim
gruvbox-nvim
hologram-nvim # For images inside kitty
nvim-cmp