Compare commits

...

5 Commits

Author SHA1 Message Date
kris 58b60cb5eb Add vagrant and git aliases 2022-05-23 22:59:56 -04:00
kris c7076e1064 Drop into root shell instead of user vagrant 2022-02-28 16:45:06 -05:00
kris ca34e022b5 Add SSH agent forwarding alias 2021-04-01 21:44:47 -04:00
kris 8cc7ffe5ce Clean up df output 2020-11-13 19:28:15 -05:00
kris 7b771ea45b Add aliases for quick test commits/amends 2020-09-11 17:32:16 -04:00
2 changed files with 14 additions and 1 deletions
+12 -1
View File
@@ -7,6 +7,7 @@ alias 'viewalias'='view ~/.bash_aliases'
alias 'refreshalias'='source ~/.bash_aliases'
# SSH management
alias 'fssh'='ssh-add && ssh -A'
alias 'editssh'='vim ~/.ssh/config'
# Edit hosts file
@@ -25,10 +26,14 @@ alias 'restartgui'='sudo service sddm restart'
alias 'reboot'='sudo reboot'
alias 'shutdown'='sudo shutdown'
# Clean up df output
alias df='df -x squashfs -x tmpfs -x devtmpfs'
# Vagrant shortcuts
alias 'vdup'='vagrant destroy -f && vagrant up'
alias 'vdup'='vagrant destroy -f && vagrant up --no-destroy-on-error'
alias 'vpro'='vagrant provision'
alias 'vssh'='ssh-add && vagrant ssh'
alias 'vsshr'='ssh-add && vagrant ssh -c "sudo -i"'
alias 'vup'='vagrant up'
alias 'vhalt'='vagrant halt'
@@ -51,8 +56,14 @@ alias 'log'='git log'
alias 'logsig'='git log --show-signature'
alias 'checkout'='git checkout'
alias 'commit'='git commit -S'
alias 'tcommit'='git commit -m "testing"'
alias 'tamend'='git commit --amend --no-edit --date "`date -R`"'
alias 'amend'='git commit -S --amend'
alias 'amendnew'='git commit -S --amend --date "`date -R`"'
alias 'giturl'='git remote set-url'
alias 'setorigin'='git remote set-url origin'
alias 'origin'='git remote show origin'
alias 'remote'='git remote'
alias 'fetch'='git fetch'
alias 'stash'='git stash'
alias 'resetb'='git reset --hard @{u}'
+2
View File
@@ -3,3 +3,5 @@
[include]
path = ~/.gitconfig_other
[init]
defaultBranch = main