terraform tools, git aliases, ctrl-c in cli, ...

This commit is contained in:
MorganGeek 2020-07-08 11:16:34 +02:00
parent c6ae66c57d
commit d7ff4f74fa
5 changed files with 17 additions and 2 deletions

View File

@ -193,3 +193,4 @@ brew "bitwarden-cli"
brew "awscli@2"
brew "newsboat"
brew "wtfutil"
brew "tfenv"

View File

@ -90,3 +90,13 @@
[branch]
# Show most recently changed branches first.
sort = -committerdate
tool = colordiff
[difftool "colordiff"]
cmd = colordiff -ydw \"$LOCAL\" \"$REMOTE\"
[url "git@github.com:"]
insteadOf = https://github.com/
[difftool]
prompt = false

View File

@ -233,7 +233,8 @@ go get -u -v github.com/jessfraz/dockfmt
go get -u -v github.com/dmlittle/scenery
go get -u -v github.com/camptocamp/terraboard
go get -u -v github.com/juliensalinas/torrengo
go get -u -v github.com/asciimoo/wuzz # Interactive cli tool for HTTP inspection
go get -u -v github.com/asciimoo/wuzz # Interactive cli tool for HTTP inspection
go get -u -v github.com/keilerkonzept/terraform-module-versions # detect new terraform modules versions
sudo curl -L git.io/scope -o /usr/local/bin/scope
sudo chmod a+x /usr/local/bin/scope

View File

@ -120,12 +120,12 @@ alias rm='gomi'
alias df='df -H'
alias diff='colordiff --side-by-side --ignore-space-change --width=200 --suppress-common-lines --recursive'
alias du='ncdu --color dark -rr -x --exclude .git --exclude node_modules'
alias ctrl-c='pbcopy'
alias s=ls
alias sl=ll
alias ls='lsd'
alias lsg='ll | grep -i' # show me files matching "ls grep"
alias lh='ls -alt | head' # see the last modified files
alias tree='ls --almost-all --tree'
alias v=vi
alias x='extract'

View File

@ -427,3 +427,6 @@ function file_getpairs {
dl_stopwords;
\cat "$1" | tr '[:upper:]' '[:lower:]' | \grep -o -E '\w{3,} \w{3,}' | \grep --invert-match --word-regexp --fixed-strings --file="$HOME/stopwords.txt" | \sed 's/s$//g' | \sed 's/ing$//g' | sort | uniq -c | sort --numeric-sort --reverse
}
function file_dups {
\cat "$1" | sort | uniq -c | sort -nr
}