add bash-it
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
alias test_alias="a"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
alias test_alias="b"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
alias test_alias="c"
|
||||
@@ -0,0 +1,12 @@
|
||||
# plugins
|
||||
plugins base
|
||||
|
||||
# completion
|
||||
completion aliases
|
||||
completion bash-it
|
||||
completion system
|
||||
|
||||
# aliases
|
||||
aliases general
|
||||
# Bad component
|
||||
aliases bla
|
||||
@@ -0,0 +1,12 @@
|
||||
# plugins
|
||||
plugins base
|
||||
# Bad type
|
||||
compleetion aliases
|
||||
|
||||
# completion
|
||||
completion aliases
|
||||
completion bash-it
|
||||
completion system
|
||||
|
||||
# aliases
|
||||
aliases general
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Simply return an error code to simulate a broken SVN installation
|
||||
exit 72
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# If the info command is called
|
||||
# AND the parent folder contains the .svn folder
|
||||
# THEN return the current path, similar to what `svn info` does
|
||||
if [[ "$1" == "info" ]] && [[ -d "../.svn" ]]; then
|
||||
echo "$PWD"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user