|
|
|
|
|
by laumars
3944 days ago
|
|
You could negate the need for a --bash or --zsh flag by checking $SHELL: echo $SHELL | egrep -o '[a-z]+$'
It might also make sense to bundle everything under one file as well. While I'd normally advocate separating code into smaller and more manageable files, a single file shell script would be more convenient to install and would require less disk reads per every prompt call.Looks good though. I'm definitely going to use this on my dev boxes. |
|