add bash-it

This commit is contained in:
2022-05-05 22:20:02 +02:00
parent 6a62a35d0d
commit 43701f0590
490 changed files with 33047 additions and 0 deletions
@@ -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
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Simply return an error code to simulate a broken SVN installation
exit 72
+10
View File
@@ -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