mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
#1 Detect checkout folder to NUX_ENV variable.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
3c6f0350c3
commit
afaa7bcc5a
1 changed files with 5 additions and 0 deletions
5
bashrc
5
bashrc
|
|
@ -90,6 +90,11 @@ alias l='ls -CF'
|
|||
# sleep 10; alert
|
||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||
|
||||
|
||||
|
||||
# nux-env install path detection
|
||||
NUX_ENV=$(dirname $(realpath ${BASH_SOURCE[0]}))
|
||||
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue