mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-18 01:29:06 +00:00
chore: update motd
This commit is contained in:
2
.zshrc
2
.zshrc
@@ -12,4 +12,4 @@ for file in $DOTFILES/scripts/*; do
|
||||
[[ -f "$file" ]] && source $file
|
||||
done
|
||||
|
||||
if [[ -f /etc/motd ]]; then cat /etc/motd; fi
|
||||
motd
|
||||
|
||||
@@ -53,6 +53,11 @@ alias h="home"
|
||||
alias rh="rhome"
|
||||
alias spider="ssh root@spider.casraf.dev"
|
||||
|
||||
motd() {
|
||||
if [[ -f /etc/motd.head ]]; then lolcat -f /etc/motd.head; fi
|
||||
if [[ -f /etc/motd ]]; then cat /etc/motd; fi
|
||||
}
|
||||
|
||||
docker-bash() {
|
||||
docker exec -ti $1 /bin/bash
|
||||
}
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
|
||||
TO DO:
|
||||
- Empty
|
||||
"There is never enough time to do all the nothing you want."
|
||||
|
||||
Reference in New Issue
Block a user