From 987002ce6dae4bbfeac58b1c7b2e1604f35caece Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Wed, 1 Sep 2021 09:01:29 +0200 Subject: update aliases --- .aliases | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.aliases b/.aliases index bd09dba..25f14b1 100644 --- a/.aliases +++ b/.aliases @@ -5,6 +5,17 @@ alias gfr='git fetch upstream && git rebase upstream/master' alias git-undo='git reset --soft HEAD~1' # Generic / Random / Utility -alias repos='cd $REPOS/github.com/' +alias r='cd $REPOS/github.com/' alias c='clear' -alias afk='pmset displaysleepnow' \ No newline at end of file +alias afk='pmset displaysleepnow' +alias dl="cd ~/Downloads" +alias l='ls -l' + +# Kill all the tabs in Chrome to free up memory +# [C] explained: http://www.commandlinefu.com/commands/view/402/exclude-grep-from-your-grepped-output-of-ps-alias-included-in-description +alias chromekill="ps ux | grep '[C]hrome Helper --type=renderer' | grep -v extension-process | tr -s ' ' | cut -d ' ' -f2 | xargs kill" + +alias fork-cleaner="fork-cleaner --token $(cat ~/.secrets/github-token)" + +alias gcloud-configs="gcloud config configurations list" +alias gcloud-set-config="gcloud config configurations activate" \ No newline at end of file -- cgit v1.2.3