add a few feetures
This commit is contained in:
parent
e52b35a14e
commit
81ffec1223
|
|
@ -22,6 +22,8 @@ if [[ $REPLY == 'y' ]]; then
|
|||
mkdir -p "$dir/hooks"
|
||||
cp -r ./library/* $dir
|
||||
cp -r ./library/hooks/* $dir/hooks/
|
||||
echo "ps1='\e[m\e[1;32m\u\e[m\e[2;10m@\e[m\e[1;34m\h\e[m\e[2;10m:\e[m\e[1;37m\w\e[m \e[1;5;36m$\e[m'" >> $dir/config
|
||||
echo "ps1.enable=1" >> $dir/config
|
||||
chmod 744 -R $dir/
|
||||
|
||||
echo "Backing up old .bashrc..."
|
||||
|
|
@ -45,3 +47,4 @@ fi
|
|||
|
||||
echo "Installation cancelled."
|
||||
exit 1
|
||||
export PS1="\e[m\e[1;32m\u\e[m\e[2;10m@\e[m\e[1;34m\h\e[m\e[2;10m:\e[m\e[1;37m\w\e[m \e[1;5;36m$\e[m "
|
||||
|
|
|
|||
|
|
@ -5,12 +5,13 @@ export QASH_VERSION='v0.2.1'
|
|||
export QASH_ENABLE_DEADLINE_CHECK=1
|
||||
export QASH_USE_BASH_COMPLETION=1
|
||||
export QASH_LIBRARY_DIR="$LIBRARY_DIR"
|
||||
export PS1="\e[1;32m\u\e[m\e[2;10m@\e[m\e[1;34m\h\e[m\e[2;10m:\e[m\e[1;37m\w\e[m \e[1;5;36m$\e[m "
|
||||
|
||||
source "$LIBRARY_DIR/aliases.sh"
|
||||
source "$LIBRARY_DIR/qash.sh"
|
||||
|
||||
if [[ $QASH_ENABLE_DEADLINE_CHECK == 1 ]]; then
|
||||
$LIBRARY_DIR/deadline.listen.sh
|
||||
# $LIBRARY_DIR/deadline.listen.sh
|
||||
echo "Enabled deadline check."
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue