From 471e0aa7b05d227226c4a434155ae6efcac1a1b9 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 23 Feb 2018 16:28:06 +0100 Subject: bash: added another PATH and an alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bashrc b/bashrc index 5c73645..dbcf965 100644 --- a/bashrc +++ b/bashrc @@ -102,9 +102,13 @@ if [ -d $HOME/bin ]; then export PATH=$HOME/bin:$PATH fi +# Some packages install inside of ~/.local/bin +export PATH=$HOME/.local/bin:$PATH + # Some other misc. alias. alias iosc="osc -A https://api.suse.de" alias ag='ag --nocolor --path-to-ignore ~/.agignore' +alias random_string="cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1" # Cargo environment. source_maybe $HOME/.cargo/env -- cgit v1.2.3