From f7716742e7423e347b4743702f0b2627334aeb73 Mon Sep 17 00:00:00 2001 From: Nemo Date: Sun, 15 Sep 2019 03:07:44 +0530 Subject: [PATCH] bashrc updates: --- files/bash/.bashrc | 6 ++++-- files/git/.gitconfig | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/files/bash/.bashrc b/files/bash/.bashrc index a73fc63..1395c2d 100644 --- a/files/bash/.bashrc +++ b/files/bash/.bashrc @@ -1,5 +1,7 @@ #!/bin/bash +source ~/.bash_profile + pathadd() { if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then PATH="${PATH:+"$PATH:"}$1" @@ -9,8 +11,6 @@ pathadd() { pathadd '/home/nemo/bin' pathadd '/home/nemo/projects/go/bin' -eval $(ssh-agent) - alias watch='watch ' alias xclip='xclip -selection c' alias sl=ls @@ -18,6 +18,8 @@ alias dynamodump='docker run bchew/dynamodump /usr/local/bin/dynamodump' alias wine32='WINEARCH=win32 WINEPREFIX=~/win32 wine' alias signal_update='docker run captn3m0/signal-arch-builder' alias kc='kapitan compile' +# https://tizardsbriefcase.com/1059/linux/remove-query-string-filename-wget +alias clean.filenames='for file in *; do mv "$file" "${file%%\?*}"; done' # ... or force ignoredups and ignorespace pathadd '/sbin' pathadd '/home/nemo/projects/scripts/' diff --git a/files/git/.gitconfig b/files/git/.gitconfig index 3f0cd50..a4a03ed 100644 --- a/files/git/.gitconfig +++ b/files/git/.gitconfig @@ -56,6 +56,7 @@ # https://github.com/so-fancy/diff-so-fancy pager = diff-so-fancy | less --tabs=4 -RFX preloadindex = true + quotepath = false [svn-remote "svn"] #svn checkout https://svn.code.sf.net/p/elibsrv/code/ elibsrv-code