New backup 2026-03-10 11:45:02
This commit is contained in:
parent
ca8f1092fd
commit
2ae569ce8f
1 changed files with 5 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ alias p="ps aux |grep "
|
|||
alias o="open "
|
||||
#find large files
|
||||
#alias find_largest_files="du -h -x -s -- * | sort -r -h | head -20"
|
||||
alias nano="nvim "
|
||||
alias nano="hx"
|
||||
alias nvim="hx"
|
||||
sort_filesizes() {
|
||||
[ -z ${1} ] && local dir="$(pwd)" || local dir="${1}"
|
||||
du -ah --max-depth=1 "$(realpath ${dir})" | sort --human-numeric-sort
|
||||
|
|
@ -227,6 +228,9 @@ eval "$(pyenv init - bash 2>/dev/null)"
|
|||
|
||||
[[ -d $HOME/.local/share/gem/ruby/3.3.0/bin ]] && export PATH="$HOME/.local/share/gem/ruby/3.3.0/bin:$PATH"
|
||||
|
||||
export NODE_PATH=$HOME/.local/lib/node_modules:$NODE_PATH
|
||||
export npm_config_prefix=$HOME/.local
|
||||
|
||||
#TPUT_RED="$(tput setaf 1)$(tput setab 0)"
|
||||
#TPUT_MAGENTA_BG="$(tput setab 5)$(tput setaf 0)"
|
||||
#TPUT_MAGENTA="$(tput sgr0)$(tput setaf 5)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue