move more bash stuff here
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2f03d655b5
commit
dc251253c8
21
bashrc/.wit
21
bashrc/.wit
|
@ -1,3 +1,5 @@
|
|||
# wit default bash settings
|
||||
|
||||
case "$-" in
|
||||
*i*) echo This shell is interactive ;;
|
||||
*) return ;;
|
||||
|
@ -35,7 +37,11 @@ alias ls='ls $LS_OPTIONS'
|
|||
alias ll='ls $LS_OPTIONS -lh'
|
||||
alias lf='ls $LS_OPTIONS -aCF'
|
||||
alias l='ls $LS_OPTIONS -lA'
|
||||
#
|
||||
|
||||
umask 022
|
||||
export LESS="-XFR"
|
||||
# -F makes less exit if the file is short
|
||||
|
||||
# Some more alias to avoid making mistakes:
|
||||
alias rm='rm -i'
|
||||
alias cp='cp -i'
|
||||
|
@ -48,10 +54,23 @@ alias last='last -a'
|
|||
alias vi='vim -u ~/.config/vimrc'
|
||||
alias vim='vim -u ~/.config/vimrc'
|
||||
|
||||
# added 2024/09/03
|
||||
alias df='df -h -x tmpfs -x devtmpfs'
|
||||
alias dff='/usr/bin/df'
|
||||
alias dmesg='dmesg -wT'
|
||||
alias grep='grep -I -d skip'
|
||||
alias lsof='lsof -n -P'
|
||||
|
||||
alias apt-find="apt-file search"
|
||||
|
||||
# added 2024/12
|
||||
alias apps="cd ~/go/src/go.wit.com/apps"
|
||||
alias proto="cd ~/go/src/go.wit.com/lib/protobuf"
|
||||
|
||||
# this is neat. how does it work?
|
||||
# todo: make it work with go-args
|
||||
complete -C gocomplete go
|
||||
|
||||
export LANG=C
|
||||
export LANGUAGE=C
|
||||
export LC_ALL=C
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
.wit
|
Loading…
Reference in New Issue