Skip to content

Commit 3cb35b4

Browse files
author
Hauke Ingwersen
committed
Move scripts to /root/
1 parent c6903c5 commit 3cb35b4

File tree

5 files changed

+17
-18
lines changed

5 files changed

+17
-18
lines changed

home/app/.bashrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

root/.bashrc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
source /home/app/.bashrc
1+
# useful aliases
2+
alias ll='ls -la'
3+
alias artisan="php artisan"
4+
5+
# prompt colors and short user display
6+
force_color_prompt=yes
7+
PS1='\[\033[1;36m\]\u\[\033[1;31m\]\[\033[1;32m\]:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '
8+
9+
# artisan autocompletion
10+
_artisan()
11+
{
12+
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
13+
COMMANDS=`artisan --raw --no-ansi list | sed "s/[[:space:]].*//g"`
14+
COMPREPLY=(`compgen -W "$COMMANDS" -- "${COMP_WORDS[COMP_CWORD]}"`)
15+
return 0
16+
}
17+
complete -F _artisan artisan
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)