Updates to local aliases
1 files changed, 13 insertions(+), 1 deletions(-)

M .localbashrc
M .localbashrc +13 -1
@@ 2,7 2,7 @@ OSTYPE=`uname -s`
 if [ "$OSTYPE" == "FreeBSD" ]; then
   alias ls='ls -F'
 else
-  alias ls='ls -F --color=none'
+  alias ls='ls -FN --color=none'
 fi
 
 alias stelnet='openssl s_client -connect '

          
@@ 20,6 20,7 @@ alias lln='lp -d Epson-L3150 '
 alias xc='xclip -selection clipboard'
 alias psx='ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10'
 alias psr='~/bin/psr.sh'
+alias fm='vifmrun'
 alias shmount='mount -t ext4,tmpfs,hfsplus,fuseblk | column -t'
 alias cpatch='sed -e "s/^+.*$/`tput setf 6 bold`&`tput sgr0`/" \
                   -e "s/^-.*$/`tput setf 4 bold`&`tput sgr0`/"'

          
@@ 29,6 30,9 @@ alias ag='/usr/bin/ag --go '
 alias ah='/usr/bin/ag --html '
 alias aj='/usr/bin/ag --js '
 
+# Laptop screen brightness
+alias scbr='doas brightnessctl set 70%'
+
 # imap sync
 alias runfetch='rm /home/pjs/.nofetchimap'
 alias stopfetch='touch /home/pjs/.nofetchimap'

          
@@ 43,6 47,7 @@ export BROWSER='firefox'
 export PYTHONPATH="$HOME/python-modules"
 export VIFM="$HOME/.config/vifm"
 export START_SSH_AGENT='yes'
+export TERMINAL='st'
 export SRHT_PATH=/home/pjs/development/srht/core.sr.ht/srht
 export GOPATH=/home/pjs/src/go
 export GOBIN=$GOPATH/bin

          
@@ 63,3 68,10 @@ export PATH="$HOME/bin:$HOME/.local/bin:
 export NVM_DIR="$HOME/.nvm"
 [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
 [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
+
+# Functions
+# dubig 200 ~/
+dubig() {
+    [ -z "$1" ] && echo "usage: dubig sizethreshMB [dir]" && return
+    du -kx $2 | awk '{ if ($1 > '$1'*1024) { print $0} }'
+}