We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55f3fb commit 0ae9c34Copy full SHA for 0ae9c34
home/app/.bashrc
@@ -6,3 +6,14 @@ alias seed="artisan migrate:fresh --seed"
6
# prompt colors and short user display
7
force_color_prompt=yes
8
PS1='\[\033[1;36m\]\u\[\033[1;31m\]\[\033[1;32m\]:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\] '
9
+
10
+# artisan autocompletion
11
+_artisan()
12
+{
13
+ COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
14
+ COMMANDS=`artisan --raw --no-ansi list | sed "s/[[:space:]].*//g"`
15
+ COMPREPLY=(`compgen -W "$COMMANDS" -- "${COMP_WORDS[COMP_CWORD]}"`)
16
+ return 0
17
+}
18
19
+complete -F _artisan artisan
0 commit comments