update some shell defaults
This commit is contained in:
parent
c5788e2213
commit
3d945896c3
2 changed files with 7 additions and 2 deletions
|
|
@ -33,8 +33,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="hx"
|
||||
alias nvim="hx"
|
||||
#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
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ format = """[░▒▓](fg:purple bg:transparent)\
|
|||
$time\
|
||||
${custom.ssh}\
|
||||
$sudo\
|
||||
$container\
|
||||
$username\
|
||||
${custom.hostname}\
|
||||
$directory\
|
||||
|
|
@ -20,6 +21,10 @@ $character"""
|
|||
|
||||
#$git_status\
|
||||
|
||||
[container]
|
||||
style = "bold bg:purple fg:red"
|
||||
format = '[$symbol \[$name\]]($style) '
|
||||
|
||||
[username]
|
||||
style_user = 'bg:purple fg:black'
|
||||
#style_root = 'bg:blue fg:black'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue