Skip to content

Commit

Permalink
feat: add viz and readmes aliases
Browse files Browse the repository at this point in the history
- viz alias for shortcut to editing zsh/trialling
- readmes alias to list readmes
  • Loading branch information
cerico committed Apr 30, 2023
1 parent fbcc467 commit a8832aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions files/zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ m () {
fi
}

viz () {
[[ -n $1 ]] && a=$1 || a=trialling
vi ~/.zsh/$a
}

cdrepo () {
cd `upsearch .git`
}
Expand Down Expand Up @@ -216,6 +221,10 @@ astros () {
[[ $1 ]] && recent $1 astro.config.mjs || recent 10 astro.config.mjs
}

readmes () {
[[ -n $1 ]] && recent $1 README.md || recent 10 README.md
}

apps () {
if [[ $1 = "cron" ]]
then
Expand Down

0 comments on commit a8832aa

Please sign in to comment.