@@ -0,0 +1,7 @@ | |||
{{- $email := promptStringOnce . "email" "Email address" -}} | |||
[data] | |||
email = {{ $email | quote }} | |||
[git] | |||
autoCommit = true |
@@ -0,0 +1 @@ | |||
.directory |
@@ -1,9 +1,3 @@ | |||
alias ..="cd .." | |||
alias ...="cd ../.." | |||
alias ....="cd ../../.." | |||
alias .....="cd ../../../.." | |||
# vscode alias | |||
alias "c"="$(which code) ./" | |||
# ls stuff | |||
alias ls="ls --color=auto" | |||
alias la="ls -Ah" |
@@ -3,14 +3,6 @@ function mkd() { | |||
mkdir -p "$argv";cd "$argv"; | |||
} | |||
# Wraps opening a tomb with removing swap and readding it later (hard coded for Roxie's method of swapfiles) | |||
function tombs() { | |||
sudo swapoff -a | |||
tomb $@ | |||
sudo swapon /swapfile | |||
swapon --show | |||
} | |||
totp_uri() { | |||
# Args are Secret - Username - Provider | |||
echo "otpauth://totp/${2}?secret=${1}&issuer=${3}" |
@@ -1,2 +0,0 @@ | |||
export GOPATH="$HOME/code/go" # Generic for now but maybe customise with direnv? | |||
export GO111MODULE="on" |