diff options
author | Marvin Borner | 2020-03-16 23:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-16 23:33:42 +0100 |
commit | 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch) | |
tree | 719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/bbedit | |
parent | e5d38956336ab1be954bdbd12808c5f98f8bd925 (diff) |
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/bbedit')
-rw-r--r-- | .oh-my-zsh/plugins/bbedit/README.md | 20 | ||||
-rw-r--r-- | .oh-my-zsh/plugins/bbedit/bbedit.plugin.zsh | 21 |
2 files changed, 0 insertions, 41 deletions
diff --git a/.oh-my-zsh/plugins/bbedit/README.md b/.oh-my-zsh/plugins/bbedit/README.md deleted file mode 100644 index 263c54c..0000000 --- a/.oh-my-zsh/plugins/bbedit/README.md +++ /dev/null @@ -1,20 +0,0 @@ -## bbedit - -Plugin for BBEdit, an HTML and text editor for Mac OS X - -### Requirements - - * [BBEdit](https://www.barebones.com/products/bbedit/) - * [BBEdit Command-Line Tools](https://www.barebones.com/support/bbedit/cmd-line-tools.html) - -### Usage - - * If the `bb` command is called without an argument, launch BBEdit - - * If `bb` is passed a directory, cd to it and open it in BBEdit - - * If `bb` is passed a file, open it in BBEdit - - * If `bbpb` create a new BBEdit document with the contents of the clipboard - - * If `bbd` alias for BBEdit diff tool diff --git a/.oh-my-zsh/plugins/bbedit/bbedit.plugin.zsh b/.oh-my-zsh/plugins/bbedit/bbedit.plugin.zsh deleted file mode 100644 index fe9e72c..0000000 --- a/.oh-my-zsh/plugins/bbedit/bbedit.plugin.zsh +++ /dev/null @@ -1,21 +0,0 @@ -alias bbpb='pbpaste | bbedit --clean --view-top' - -alias bbd=bbdiff - -# -# If the bb command is called without an argument, launch BBEdit -# If bb is passed a directory, cd to it and open it in BBEdit -# If bb is passed a file, open it in BBEdit -# -function bb() { - if [[ -z "$1" ]] - then - bbedit --launch - else - bbedit "$1" - if [[ -d "$1" ]] - then - cd "$1" - fi - fi -} |