feat: Welcome message
This commit is contained in:
parent
624eda03be
commit
00849e0fcf
1
.vimrc
1
.vimrc
@ -13,6 +13,7 @@ set relativenumber
|
|||||||
set scrolloff=2
|
set scrolloff=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set smartcase
|
set smartcase
|
||||||
|
set undofile
|
||||||
|
|
||||||
set nowrap
|
set nowrap
|
||||||
set nowrapscan
|
set nowrapscan
|
||||||
|
23
.zshrc
23
.zshrc
@ -535,3 +535,26 @@ compdef locate=glocate
|
|||||||
|
|
||||||
# Hide "parameters" (i.e. environment variables) when looking for a "command"
|
# Hide "parameters" (i.e. environment variables) when looking for a "command"
|
||||||
zstyle ':completion:*:-command-:*' tag-order '!parameters'
|
zstyle ':completion:*:-command-:*' tag-order '!parameters'
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
### Welcome Message
|
||||||
|
###
|
||||||
|
|
||||||
|
grc --colour=on df -h | grep -v 'tmpfs\|none'
|
||||||
|
echo
|
||||||
|
|
||||||
|
if [[ -e .welcome ]]; then
|
||||||
|
cat .welcome
|
||||||
|
elif [[ -e $HOME/.welcome ]]; then
|
||||||
|
cat $HOME/.welcome
|
||||||
|
fi
|
||||||
|
|
||||||
|
setopt nullglob
|
||||||
|
if (( ${#$(echo ~/QubesIncoming/*(F))} )); then
|
||||||
|
rmdir --ignore-fail-on-non-empty ~/QubesIncoming/*
|
||||||
|
find ~/QubesIncoming ! -type d -printf "%5kk %p\n" |
|
||||||
|
sort -k2,9 |
|
||||||
|
sed -e "s:$HOME:~:"
|
||||||
|
fi
|
||||||
|
setopt nonullglob
|
||||||
|
Loading…
Reference in New Issue
Block a user