mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-09-28 13:22:54 +00:00
bashrc updates:
This commit is contained in:
parent
a33d7874cf
commit
f7716742e7
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
source ~/.bash_profile
|
||||||
|
|
||||||
pathadd() {
|
pathadd() {
|
||||||
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
|
if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then
|
||||||
PATH="${PATH:+"$PATH:"}$1"
|
PATH="${PATH:+"$PATH:"}$1"
|
||||||
@ -9,8 +11,6 @@ pathadd() {
|
|||||||
pathadd '/home/nemo/bin'
|
pathadd '/home/nemo/bin'
|
||||||
pathadd '/home/nemo/projects/go/bin'
|
pathadd '/home/nemo/projects/go/bin'
|
||||||
|
|
||||||
eval $(ssh-agent)
|
|
||||||
|
|
||||||
alias watch='watch '
|
alias watch='watch '
|
||||||
alias xclip='xclip -selection c'
|
alias xclip='xclip -selection c'
|
||||||
alias sl=ls
|
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 wine32='WINEARCH=win32 WINEPREFIX=~/win32 wine'
|
||||||
alias signal_update='docker run captn3m0/signal-arch-builder'
|
alias signal_update='docker run captn3m0/signal-arch-builder'
|
||||||
alias kc='kapitan compile'
|
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
|
# ... or force ignoredups and ignorespace
|
||||||
pathadd '/sbin'
|
pathadd '/sbin'
|
||||||
pathadd '/home/nemo/projects/scripts/'
|
pathadd '/home/nemo/projects/scripts/'
|
||||||
|
@ -56,6 +56,7 @@
|
|||||||
# https://github.com/so-fancy/diff-so-fancy
|
# https://github.com/so-fancy/diff-so-fancy
|
||||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||||
preloadindex = true
|
preloadindex = true
|
||||||
|
quotepath = false
|
||||||
|
|
||||||
[svn-remote "svn"]
|
[svn-remote "svn"]
|
||||||
#svn checkout https://svn.code.sf.net/p/elibsrv/code/ elibsrv-code
|
#svn checkout https://svn.code.sf.net/p/elibsrv/code/ elibsrv-code
|
||||||
|
Loading…
Reference in New Issue
Block a user