From 4e9b03e828a81b30e525abf2290e82c3afa8d149 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 11 Nov 2022 01:50:14 -0800 Subject: [PATCH] :memo: Modified many scripts --- aliases | 2 +- bashrc.txt | 2 +- scripts/ltranslate | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aliases b/aliases index c83cf83a..7ed746e5 100644 --- a/aliases +++ b/aliases @@ -163,7 +163,7 @@ alias {sub,subreddit,subrd}="tuir -s" alias qwiki="wik -i" alias toolongdidntread="tldr" alias cheatsheet="cheat" -alias {trans,translate}="ltranslate" +alias {ltrans,trans,translate}="ltranslate" # gif recording, peek doesn't work right now... # help for this can be hard, use byzanz-record --help for more info, use silentcast to find x and y dimensions diff --git a/bashrc.txt b/bashrc.txt index 1a066d02..b69e780a 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -180,7 +180,7 @@ HISTTIMEFORMAT="%d/%m/%y %T " # Displays current git branch if there is any and also styles bash prompt # export PS1='\[\033[01;34m\][\u@\h\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;34m└─>\033[37m ' -export PS1='\[\033[01;34m\][\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\033[01;34m\033[37m' +export PS1='\[\033[01;34m\][\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;34m└─>\033[37m ' # Configure thefuck eval "$(thefuck --alias)" export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin:/home/brian/.local/share/nvim/lsp_servers:/home/brian/.cargo/bin" diff --git a/scripts/ltranslate b/scripts/ltranslate index 5903d4bb..7d7415cb 100755 --- a/scripts/ltranslate +++ b/scripts/ltranslate @@ -13,7 +13,7 @@ dependencycheck() { missingdependencies=0 for ((i = 0; i < numdependencies; i++)) ; do if ! command -v "${dependencies[$i]}" &> /dev/null ; then - printf "dependency not met: %s" "${dependencies[$i]}" + printf "dependency not met: %s\n" "${dependencies[$i]}" missingdependencies=$((missingdependencies+1)) fi done