diff --git a/dot_profile b/dot_profile index a35ad0d..29bcde9 100644 --- a/dot_profile +++ b/dot_profile @@ -28,6 +28,3 @@ test -z "$PROFILEREAD" && . /etc/profile || true #fi export PATH="$HOME/.cargo/bin:$PATH" -export KWIN_DRM_USE_EGL_STREAMS=1 -export __GL_THREADED_OPTIMIZATIONS=1 -export __GL_MaxFramesAllowed=1 diff --git a/dot_zfunc/_rustup b/dot_zfunc/_rustup index b6879a6..dab3353 100644 --- a/dot_zfunc/_rustup +++ b/dot_zfunc/_rustup @@ -17,19 +17,22 @@ _rustup() { _arguments "${_arguments_options[@]}" \ '-v[Enable verbose output]' \ '--verbose[Enable verbose output]' \ +'(-v --verbose)-q[Disable progress output]' \ +'(-v --verbose)--quiet[Disable progress output]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ '-V[Prints version information]' \ '--version[Prints version information]' \ +'::+toolchain -- release channel (e.g. +stable) or custom toolchain to set override:_files' \ ":: :_rustup_commands" \ "*::: :->rustup" \ && ret=0 case $state in (rustup) - words=($line[1] "${words[@]}") + words=($line[2] "${words[@]}") (( CURRENT += 1 )) - curcontext="${curcontext%:*:*}:rustup-command-$line[1]:" - case $line[1] in + curcontext="${curcontext%:*:*}:rustup-command-$line[2]:" + case $line[2] in (dump-testament) _arguments "${_arguments_options[@]}" \ '-h[Prints help information]' \ @@ -69,6 +72,22 @@ _arguments "${_arguments_options[@]}" \ '--version[Prints version information]' \ && ret=0 ;; +(profile) +_arguments "${_arguments_options[@]}" \ +'-h[Prints help information]' \ +'--help[Prints help information]' \ +'-V[Prints version information]' \ +'--version[Prints version information]' \ +&& ret=0 +;; +(keys) +_arguments "${_arguments_options[@]}" \ +'-h[Prints help information]' \ +'--help[Prints help information]' \ +'-V[Prints version information]' \ +'--version[Prints version information]' \ +&& ret=0 +;; (help) _arguments "${_arguments_options[@]}" \ '-h[Prints help information]' \ @@ -83,6 +102,7 @@ esac ;; (install) _arguments "${_arguments_options[@]}" \ +'--profile=[]: :(minimal default complete)' \ '--no-self-update[Don'\''t perform self-update when running the `rustup install` command]' \ '--force[Force an update, even if some components are missing]' \ '-h[Prints help information]' \ @@ -112,6 +132,14 @@ _arguments "${_arguments_options[@]}" \ '::toolchain -- Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more information see `rustup help toolchain`:_files' \ && ret=0 ;; +(check) +_arguments "${_arguments_options[@]}" \ +'-h[Prints help information]' \ +'--help[Prints help information]' \ +'-V[Prints version information]' \ +'--version[Prints version information]' \ +&& ret=0 +;; (default) _arguments "${_arguments_options[@]}" \ '-h[Prints help information]' \ @@ -138,6 +166,8 @@ case $state in case $line[1] in (list) _arguments "${_arguments_options[@]}" \ +'-v[Enable verbose output with toolchain information]' \ +'--verbose[Enable verbose output with toolchain information]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ '-V[Prints version information]' \ @@ -146,7 +176,14 @@ _arguments "${_arguments_options[@]}" \ ;; (update) _arguments "${_arguments_options[@]}" \ -'--no-self-update[Don'\''t perform self update when running the `rustup toolchain install` command]' \ +'--profile=[]: :(minimal default complete)' \ +'*-c+[Add specific components on installation]' \ +'*--component=[Add specific components on installation]' \ +'*-t+[Add specific targets on installation]' \ +'*--target=[Add specific targets on installation]' \ +'--no-self-update[Don'\''t perform self update when running the`rustup toolchain install` command]' \ +'--force[Force an update, even if some components are missing]' \ +'--allow-downgrade[Allow rustup to downgrade the toolchain to satisfy your component choice]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ '-V[Prints version information]' \ @@ -156,7 +193,14 @@ _arguments "${_arguments_options[@]}" \ ;; (add) _arguments "${_arguments_options[@]}" \ -'--no-self-update[Don'\''t perform self update when running the `rustup toolchain install` command]' \ +'--profile=[]: :(minimal default complete)' \ +'*-c+[Add specific components on installation]' \ +'*--component=[Add specific components on installation]' \ +'*-t+[Add specific targets on installation]' \ +'*--target=[Add specific targets on installation]' \ +'--no-self-update[Don'\''t perform self update when running the`rustup toolchain install` command]' \ +'--force[Force an update, even if some components are missing]' \ +'--allow-downgrade[Allow rustup to downgrade the toolchain to satisfy your component choice]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ '-V[Prints version information]' \ @@ -166,7 +210,14 @@ _arguments "${_arguments_options[@]}" \ ;; (install) _arguments "${_arguments_options[@]}" \ -'--no-self-update[Don'\''t perform self update when running the `rustup toolchain install` command]' \ +'--profile=[]: :(minimal default complete)' \ +'*-c+[Add specific components on installation]' \ +'*--component=[Add specific components on installation]' \ +'*-t+[Add specific targets on installation]' \ +'*--target=[Add specific targets on installation]' \ +'--no-self-update[Don'\''t perform self update when running the`rustup toolchain install` command]' \ +'--force[Force an update, even if some components are missing]' \ +'--allow-downgrade[Allow rustup to downgrade the toolchain to satisfy your component choice]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ '-V[Prints version information]' \ @@ -438,6 +489,7 @@ _arguments "${_arguments_options[@]}" \ ;; (which) _arguments "${_arguments_options[@]}" \ +'--toolchain=[Toolchain name, such as '\''stable'\'', '\''nightly'\'', or '\''1.8.0'\''. For more information see `rustup help toolchain`]' \ '-h[Prints help information]' \ '--help[Prints help information]' \ '-V[Prints version information]' \ @@ -468,6 +520,7 @@ _arguments "${_arguments_options[@]}" \ '--help[Prints help information]' \ '-V[Prints version information]' \ '--version[Prints version information]' \ +'::topic -- Topic such as 'core', 'fn', 'usize', 'eprintln!', 'core::arch', 'alloc::format!', 'std::fs', 'std::fs::read_dir', 'std::io::Bytes', 'std::iter::Sum', 'std::io::error::Result' etc...:_files' \ && ret=0 ;; (doc) @@ -493,6 +546,7 @@ _arguments "${_arguments_options[@]}" \ '--help[Prints help information]' \ '-V[Prints version information]' \ '--version[Prints version information]' \ +'::topic -- Topic such as 'core', 'fn', 'usize', 'eprintln!', 'core::arch', 'alloc::format!', 'std::fs', 'std::fs::read_dir', 'std::io::Bytes', 'std::iter::Sum', 'std::io::error::Result' etc...:_files' \ && ret=0 ;; (man) @@ -581,6 +635,15 @@ _arguments "${_arguments_options[@]}" \ ':host_triple:_files' \ && ret=0 ;; +(profile) +_arguments "${_arguments_options[@]}" \ +'-h[Prints help information]' \ +'--help[Prints help information]' \ +'-V[Prints version information]' \ +'--version[Prints version information]' \ +':profile-name:(minimal default complete)' \ +&& ret=0 +;; (help) _arguments "${_arguments_options[@]}" \ '-h[Prints help information]' \ @@ -620,10 +683,11 @@ esac _rustup_commands() { local commands; commands=( "dump-testament:Dump information about the build" \ -"show:Show the active and installed toolchains" \ +"show:Show the active and installed toolchains or profiles" \ "install:Update Rust toolchains" \ "uninstall:Uninstall Rust toolchains" \ "update:Update Rust toolchains and rustup" \ +"check:Check for updates to Rust toolchains" \ "default:Set the default toolchain" \ "toolchain:Modify or query the installed toolchains" \ "target:Modify a toolchain's supported targets" \ @@ -682,6 +746,13 @@ _rustup__toolchain__add_commands() { ) _describe -t commands 'rustup toolchain add commands' commands "$@" } +(( $+functions[_rustup__check_commands] )) || +_rustup__check_commands() { + local commands; commands=( + + ) + _describe -t commands 'rustup check commands' commands "$@" +} (( $+functions[_rustup__completions_commands] )) || _rustup__completions_commands() { local commands; commands=( @@ -825,6 +896,13 @@ _rustup__toolchain__install_commands() { ) _describe -t commands 'rustup toolchain install commands' commands "$@" } +(( $+functions[_rustup__show__keys_commands] )) || +_rustup__show__keys_commands() { + local commands; commands=( + + ) + _describe -t commands 'rustup show keys commands' commands "$@" +} (( $+functions[_rustup__toolchain__link_commands] )) || _rustup__toolchain__link_commands() { local commands; commands=( @@ -877,6 +955,20 @@ _rustup__override_commands() { ) _describe -t commands 'rustup override commands' commands "$@" } +(( $+functions[_rustup__set__profile_commands] )) || +_rustup__set__profile_commands() { + local commands; commands=( + + ) + _describe -t commands 'rustup set profile commands' commands "$@" +} +(( $+functions[_rustup__show__profile_commands] )) || +_rustup__show__profile_commands() { + local commands; commands=( + + ) + _describe -t commands 'rustup show profile commands' commands "$@" +} (( $+functions[_rustup__component__remove_commands] )) || _rustup__component__remove_commands() { local commands; commands=( @@ -940,6 +1032,7 @@ _rustup__override__set_commands() { _rustup__set_commands() { local commands; commands=( "default-host:The triple used to identify toolchains when not specified" \ +"profile:The default components installed" \ "help:Prints this message or the help of the given subcommand(s)" \ ) _describe -t commands 'rustup set commands' commands "$@" @@ -949,6 +1042,8 @@ _rustup__show_commands() { local commands; commands=( "active-toolchain:Show the active toolchain" \ "home:Display the computed value of RUSTUP_HOME" \ +"profile:Show the current profile" \ +"keys:Display the known PGP keys" \ "help:Prints this message or the help of the given subcommand(s)" \ ) _describe -t commands 'rustup show commands' commands "$@" diff --git a/exact_dot_oh-my-zsh/exact_cache/grep-alias b/exact_dot_oh-my-zsh/exact_cache/grep-alias new file mode 100644 index 0000000..8ec15cd --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_cache/grep-alias @@ -0,0 +1,3 @@ +alias grep='grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' +alias egrep='egrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' +alias fgrep='fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox}' diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_logs/exact_refs/exact_remotes/exact_origin/exact_features/background-initialization b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_logs/exact_refs/exact_remotes/exact_origin/exact_features/background-initialization new file mode 100644 index 0000000..0db52ad --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_logs/exact_refs/exact_remotes/exact_origin/exact_features/background-initialization @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 767d55eba0355d9ef9270df3ca257a936cf0eac5 DazAh <9095216+DazAh@users.noreply.github.com> 1587292881 +0100 pull: storing head diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_logs/exact_refs/exact_remotes/exact_origin/exact_fixes/partial-accept-duplicate-word b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_logs/exact_refs/exact_remotes/exact_origin/exact_fixes/partial-accept-duplicate-word new file mode 100644 index 0000000..5b5b8e4 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_logs/exact_refs/exact_remotes/exact_origin/exact_fixes/partial-accept-duplicate-word @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 4ccfdb2435ea4b82983bf22bb2913c0773992cce DazAh <9095216+DazAh@users.noreply.github.com> 1587292881 +0100 pull: storing head diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_objects/exact_pack/pack-d454739d2c51b6deb1b6c6cc242b6ddbc8516a2a.idx b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_objects/exact_pack/pack-d454739d2c51b6deb1b6c6cc242b6ddbc8516a2a.idx new file mode 100644 index 0000000..93313ee Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_objects/exact_pack/pack-d454739d2c51b6deb1b6c6cc242b6ddbc8516a2a.idx differ diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_objects/exact_pack/pack-d454739d2c51b6deb1b6c6cc242b6ddbc8516a2a.pack b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_objects/exact_pack/pack-d454739d2c51b6deb1b6c6cc242b6ddbc8516a2a.pack new file mode 100644 index 0000000..fae5338 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_objects/exact_pack/pack-d454739d2c51b6deb1b6c6cc242b6ddbc8516a2a.pack differ diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_remotes/exact_origin/exact_features/background-initialization b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_remotes/exact_origin/exact_features/background-initialization new file mode 100644 index 0000000..7dc29be --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_remotes/exact_origin/exact_features/background-initialization @@ -0,0 +1 @@ +767d55eba0355d9ef9270df3ca257a936cf0eac5 diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_remotes/exact_origin/exact_fixes/partial-accept-duplicate-word b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_remotes/exact_origin/exact_fixes/partial-accept-duplicate-word new file mode 100644 index 0000000..719cb74 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_remotes/exact_origin/exact_fixes/partial-accept-duplicate-word @@ -0,0 +1 @@ +4ccfdb2435ea4b82983bf22bb2913c0773992cce diff --git a/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_tags/v0.6.4 b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_tags/v0.6.4 new file mode 100644 index 0000000..100da5c --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_custom/exact_plugins/exact_zsh-autosuggestions/exact_dot_git/exact_refs/exact_tags/v0.6.4 @@ -0,0 +1 @@ +ae315ded4dba10685dbbafbfa2ff3c1aefeb490d diff --git a/exact_dot_oh-my-zsh/exact_dot_git/COMMIT_EDITMSG b/exact_dot_oh-my-zsh/exact_dot_git/COMMIT_EDITMSG new file mode 100644 index 0000000..8d99620 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_dot_git/COMMIT_EDITMSG @@ -0,0 +1 @@ +commit message diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_09/1569c4d8eec636ec5837acacef0e26aceaa69d b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_09/1569c4d8eec636ec5837acacef0e26aceaa69d new file mode 100644 index 0000000..c84e8b9 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_09/1569c4d8eec636ec5837acacef0e26aceaa69d differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_0b/57a37708afa3bead2d190b41f8c5f87a16c1a8 b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_0b/57a37708afa3bead2d190b41f8c5f87a16c1a8 new file mode 100644 index 0000000..cd9b6c1 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_0b/57a37708afa3bead2d190b41f8c5f87a16c1a8 differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_11/ccf2bbf21a52536b408095af0e25574c7e62f5 b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_11/ccf2bbf21a52536b408095af0e25574c7e62f5 new file mode 100644 index 0000000..64aed27 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_11/ccf2bbf21a52536b408095af0e25574c7e62f5 differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_1c/7fe66770fa6a8ca18aedbf6eb2da0e086b4e10 b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_1c/7fe66770fa6a8ca18aedbf6eb2da0e086b4e10 new file mode 100644 index 0000000..230b42d Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_1c/7fe66770fa6a8ca18aedbf6eb2da0e086b4e10 differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_3e/a957676433505b0a4a03cc439ad08815acfd07 b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_3e/a957676433505b0a4a03cc439ad08815acfd07 new file mode 100644 index 0000000..815d0a1 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_3e/a957676433505b0a4a03cc439ad08815acfd07 differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_41/947f781f5b6024965a04953c8bef2694d3ee3b b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_41/947f781f5b6024965a04953c8bef2694d3ee3b new file mode 100644 index 0000000..1853bab Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_41/947f781f5b6024965a04953c8bef2694d3ee3b differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_48/6857f709aa2fa229391097651e043b62d316e5 b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_48/6857f709aa2fa229391097651e043b62d316e5 new file mode 100644 index 0000000..5eb2868 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_48/6857f709aa2fa229391097651e043b62d316e5 @@ -0,0 +1 @@ +xn0 w-O{5Bi.}mӏZ-Y:ku$UG$t4/*KѨa j5В2"C <%M)A@@vR88Op 乡MU|}HGq2i0t䕨 Qъ-)MroOuRQh0z"If߻O=3LfZեjzCNN_ݽ:i~u8cE! ^ii`^^jQ-BtIbΐdI>탐+yVes@5L-zmq.>QP7"es :KtRCOPn/])5ɲA/N \ No newline at end of file diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_pack/pack-5cfc6ff3703e1d91f6fbcd7bf3cdcbb63f4d10dd.idx b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_pack/pack-5cfc6ff3703e1d91f6fbcd7bf3cdcbb63f4d10dd.idx new file mode 100644 index 0000000..a85b4b9 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_pack/pack-5cfc6ff3703e1d91f6fbcd7bf3cdcbb63f4d10dd.idx differ diff --git a/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_pack/pack-5cfc6ff3703e1d91f6fbcd7bf3cdcbb63f4d10dd.pack b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_pack/pack-5cfc6ff3703e1d91f6fbcd7bf3cdcbb63f4d10dd.pack new file mode 100644 index 0000000..f7d9687 Binary files /dev/null and b/exact_dot_oh-my-zsh/exact_dot_git/exact_objects/exact_pack/pack-5cfc6ff3703e1d91f6fbcd7bf3cdcbb63f4d10dd.pack differ diff --git a/exact_dot_oh-my-zsh/exact_dot_github/CODEOWNERS b/exact_dot_oh-my-zsh/exact_dot_github/CODEOWNERS new file mode 100644 index 0000000..6a18bf0 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_dot_github/CODEOWNERS @@ -0,0 +1 @@ +plugins/gitfast/ @felipec diff --git a/exact_dot_oh-my-zsh/exact_dot_github/PULL_REQUEST_TEMPLATE.md b/exact_dot_oh-my-zsh/exact_dot_github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..6bcb90e --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_dot_github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,17 @@ +## Standards checklist: + +- [ ] The PR title is descriptive. +- [ ] The PR doesn't replicate another PR which is already open. +- [ ] I have read the contribution guide and followed all the instructions. +- [ ] The code follows the code style guide detailed in the wiki. +- [ ] The code is mine or it's from somewhere with an MIT-compatible license. +- [ ] The code is efficient, to the best of my ability, and does not waste computer resources. +- [ ] The code is stable and I have tested it myself, to the best of my abilities. + +## Changes: + +- [...] + +## Other comments: + +... diff --git a/exact_dot_oh-my-zsh/exact_dot_github/exact_workflows/main.yml b/exact_dot_oh-my-zsh/exact_dot_github/exact_workflows/main.yml new file mode 100644 index 0000000..7ab7efd --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_dot_github/exact_workflows/main.yml @@ -0,0 +1,36 @@ +name: CI +on: + pull_request: + types: + - opened + - synchronize + branches: + - master + push: + branches: + - master + +jobs: + tests: + name: Run tests + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - name: Set up git repository + uses: actions/checkout@v2 + - name: Install zsh + if: runner.os == 'Linux' + run: sudo apt-get update; sudo apt-get install zsh + - name: Test installer + run: sh ./tools/install.sh + - name: Check syntax + run: | + for file in ./oh-my-zsh.sh \ + ./lib/*.zsh \ + ./plugins/*/*.plugin.zsh \ + ./plugins/*/_* \ + ./themes/*.zsh-theme; do + zsh -n "$file" || return 1 + done diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_direnv/README.md b/exact_dot_oh-my-zsh/exact_plugins/exact_direnv/README.md new file mode 100644 index 0000000..8deaf38 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_direnv/README.md @@ -0,0 +1,15 @@ +# direnv plugin + +This plugin creates the [Direnv](https://direnv.net/) hook. + +To use it, add `direnv` to the plugins array in your zshrc file: + +```zsh +plugins=(... direnv) +``` + +## Requirements + +In order to make this work, you will need to have the direnv installed. + +More info on the usage and install: https://github.com/direnv/direnv diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_direnv/direnv.plugin.zsh b/exact_dot_oh-my-zsh/exact_plugins/exact_direnv/direnv.plugin.zsh new file mode 100644 index 0000000..d36c4ae --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_direnv/direnv.plugin.zsh @@ -0,0 +1,13 @@ +_direnv_hook() { + trap -- '' SIGINT; + eval "$(direnv export zsh)"; + trap - SIGINT; +} +typeset -ag precmd_functions; +if [[ -z ${precmd_functions[(r)_direnv_hook]} ]]; then + precmd_functions=( _direnv_hook ${precmd_functions[@]} ) +fi +typeset -ag chpwd_functions; +if [[ -z ${chpwd_functions[(r)_direnv_hook]} ]]; then + chpwd_functions=( _direnv_hook ${chpwd_functions[@]} ) +fi diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_gradle/_gradle b/exact_dot_oh-my-zsh/exact_plugins/exact_gradle/_gradle new file mode 100644 index 0000000..6476266 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_gradle/_gradle @@ -0,0 +1,420 @@ +#compdef gradle gradlew gw +# +# Taken from https://github.com/gradle/gradle-completion +# Copyright (c) 2017 Eric Wendelin +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of +# this software and associated documentation files (the "Software"), to deal in +# the Software without restriction, including without limitation the rights to +# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +# of the Software, and to permit persons to whom the Software is furnished to do +# so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# Terms + +__gradle-set-project-root-dir() { + local dir=`pwd` + project_root_dir=`pwd` + while [[ $dir != '/' ]]; do + if [[ -f "$dir/settings.gradle" || -f "$dir/settings.gradle.kts" || -f "$dir/gradlew" ]]; then + project_root_dir=$dir + return 0 + fi + dir="$(dirname "$dir")" + done + return 1 +} + +__gradle-init-cache-dir() { + cache_dir="$HOME/.gradle/completion" + mkdir -p $cache_dir +} + +__gradle-set-settings-file() { + # In order of precedence: --settings-file=filename, settings.gradle, settings.gradle.kts + + local default_gradle_settings_file="$project_root_dir/settings.gradle" + if [[ ! -f $default_gradle_settings_file ]]; then + default_gradle_settings_file="$project_root_dir/settings.gradle.kts" + fi + gradle_settings_file=${${(v)opt_args[(i)-c|--settings-file]}:-$default_gradle_settings_file} +} + +__gradle-set-build-file() { + __gradle-set-settings-file + # In order of precedence: --build-file=filename, rootProject.buildFileName, build.gradle, build.gradle.kts + + local default_gradle_build_file_name="build.gradle" + if [[ -r $gradle_settings_file ]]; then + default_gradle_build_file_name=${$(grep "^rootProject\.buildFileName" $gradle_settings_file | \ + sed -n -e "s/rootProject\.buildFileName = [\'\"]\(.*\)[\'\"]/\1/p")} + + default_gradle_build_file_name="${default_gradle_build_file:-build.gradle}" + fi + + local default_gradle_build_file="$project_root_dir/$default_gradle_build_file_name" + if [[ ! -f $default_gradle_build_file ]]; then + default_gradle_build_file="$project_root_dir/build.gradle.kts" + fi + + # If a build file is specified after '-b' or '--build-file', use this file. + gradle_build_file=${${(v)opt_args[(i)-b|--build-file]}:-$default_gradle_build_file} +} + +__gradle-set-cache-name() { + # Cache name is constructed from the absolute path of the build file. + cache_name=${${gradle_build_file:a}//[^[:alnum:]]/_} +} + +__gradle-set-files-checksum() { + # Cache MD5 sum of all Gradle scripts and modified timestamps + if builtin command -v md5 > /dev/null; then + gradle_files_checksum=( $(md5 -q -s "$(cat "$cache_dir/$cache_name" | xargs ls -o 2>/dev/null)") ) + elif builtin command -v md5sum > /dev/null; then + gradle_files_checksum=( $(cat "$cache_dir/$cache_name" | xargs ls -o 2>/dev/null | md5sum | awk '{print $1}') ) + else + _message 'Cannot generate completions as neither md5 nor md5sum exist on \$PATH' + return 1 + fi +} + +__gradle-generate-script-cache() { + # Invalidate cache after 3 weeks by default + local cache_ttl_mins=${$(echo $GRADLE_CACHE_TTL_MINUTES):-30240} + local script_exclude_pattern=${$(echo $GRADLE_COMPLETION_EXCLUDE_PATTERN):-"/(.git|build|integTest|samples|templates|smokeTest|testFixtures|out)/"} + if [[ ! $(find $cache_dir/$cache_name -mmin -$cache_ttl_mins 2>/dev/null) ]]; then + zle -R "Generating Gradle build script cache" + # Cache all Gradle scripts + local -a gradle_build_scripts + gradle_build_scripts=( $(find $project_root_dir -type f -name "*.gradle" -o -name "*.gradle.kts" 2>/dev/null | egrep -v "$script_exclude_pattern") ) + printf "%s\n" "${gradle_build_scripts[@]}" >| $cache_dir/$cache_name + fi +} + +__gradle-generate-tasks-cache() { + __gradle-set-files-checksum + + # Use Gradle wrapper when it exists. + local gradle_cmd="gradle" + if [[ -x "$project_root_dir/gradlew" ]]; then + gradle_cmd="$project_root_dir/gradlew" + fi + + zle -R "Generating Gradle task cache from $gradle_build_file" + + # Run gradle to retrieve possible tasks and cache. + # Reuse Gradle Daemon if IDLE but don't start a new one. + local gradle_tasks_output + if [[ ! -z "$($gradle_cmd --status 2>/dev/null | grep IDLE)" ]]; then + gradle_tasks_output="$($gradle_cmd --daemon --build-file $gradle_build_file -q tasks --all 2>/dev/null)" + else + gradle_tasks_output="$($gradle_cmd --no-daemon --build-file $gradle_build_file -q tasks --all 2>/dev/null)" + fi + local gradle_all_tasks="" root_tasks="" subproject_tasks="" output_line + local -a match + for output_line in ${(f)"$(printf "%s\n" "${gradle_tasks_output[@]}")"}; do + if [[ $output_line =~ ^([[:lower:]][[:alnum:][:punct:]]*)([[:space:]]-[[:space:]]([[:print:]]*))? ]]; then + local task_name="${match[1]}" + local task_description="${match[3]}" + # Completion for subproject tasks with ':' prefix + if [[ $task_name =~ ^([[:alnum:][:punct:]]+):([[:alnum:]]+) ]]; then + gradle_all_tasks+="${task_name//:/\\:}:$task_description\n\\:${task_name//:/\\:}:$task_description\n" + subproject_tasks+="${match[2]}\n" + else + gradle_all_tasks+="${task_name//:/\\:}:$task_description\n" + root_tasks+="$task_name\n" + fi + fi + done + + # subproject tasks can be referenced implicitly from root project + if [[ $GRADLE_COMPLETION_UNQUALIFIED_TASKS == "true" ]]; then + local -a implicit_tasks + implicit_tasks=( $(comm -23 <(echo $subproject_tasks | sort) <(echo $root_tasks | sort)) ) + for task in $(printf "%s\n" "${implicit_tasks[@]}"); do + gradle_all_tasks+="$task\n" + done + fi + + echo $gradle_all_tasks >| $cache_dir/$gradle_files_checksum + echo $gradle_files_checksum >| $cache_dir/$cache_name.md5 +} + +__gradle-completion-init() { + local cache_dir cache_name gradle_build_file gradle_files_checksum project_root_dir + __gradle-init-cache-dir + __gradle-set-project-root-dir + __gradle-set-build-file + if [[ -f $gradle_build_file ]]; then + __gradle-set-cache-name + __gradle-generate-script-cache + __gradle-set-files-checksum + __gradle-generate-tasks-cache + fi + return 0 +} + +__gradle_tasks() { + local cache_dir cache_name gradle_build_file gradle_files_checksum project_root_dir + + __gradle-init-cache-dir + __gradle-set-project-root-dir + __gradle-set-build-file + if [[ -f $gradle_build_file ]]; then + __gradle-set-cache-name + __gradle-generate-script-cache + __gradle-set-files-checksum + + # The cache key is md5 sum of all gradle scripts, so it's valid if it exists. + if [[ -f $cache_dir/$cache_name.md5 ]]; then + local cached_checksum="$(cat $cache_dir/$cache_name.md5)" + local -a cached_tasks + if [[ -z $cur ]]; then + cached_tasks=(${(f)"$(cat $cache_dir/$cached_checksum)"}) + else + cached_tasks=(${(f)"$(grep "^${cur//:/\\\\:}" $cache_dir/$cached_checksum)"}) + fi + _describe 'all tasks' cached_tasks && ret=0 + else + __gradle-generate-tasks-cache + fi + + # Regenerate tasks cache in the background + if [[ $gradle_files_checksum != "$(cat $cache_dir/$cache_name.md5)" || ! -f $cache_dir/$gradle_files_checksum || $(wc -c < $cache_dir/$gradle_files_checksum) -le 1 ]]; then + $(__gradle-generate-tasks-cache 1>&2 2>/dev/null &) + fi + else + _describe 'built-in tasks' '( + "buildEnvironment:Displays all buildscript dependencies declared in root project." + "components:Displays the components produced by root project." + "dependencies:Displays all dependencies declared in root project." + "dependencyInsight:Displays the insight into a specific dependency in root project." + "dependentComponents:Displays the dependent components of components in root project." + "help:Displays a help message." + "init:Initializes a new Gradle build." + "model:Displays the configuration model of root project." + "projects:Displays the sub-projects of root project." + "properties:Displays the properties of root project." + "tasks:Displays the tasks runnable from root project." + "wrapper:Generates Gradle wrapper files." + )' && ret=0 + fi +} + +__gradle_subcommand() { + integer ret=1 + + case "$words[1]" in + (dependencies) + _arguments \ + '--configuration=[The configuration to generate the report for.]:dependency configuration:_gradle_dependency_configurations' && ret=0 + ;; + (dependencyInsight) + _arguments \ + '--dependency=[Shows the details of given dependency.]' \ + '--configuration=[Looks for the dependency in given configuration.]:dependency configuration:_gradle_dependency_configurations' && ret=0 + ;; + (help) + _arguments \ + '--task[The task to show help for.]' && ret=0 + ;; + (init) + _arguments \ + '--dsl=[DSL to be used in generated scripts.]:dsl:(groovy kotlin)' \ + '--package=[Package for the generated source.]' \ + '--project-name=[Name of the generated project.]' \ + '--test-framework=[Test framework to be used.]:test framework:(junit kotlintest scalatest spock testng)' \ + '--type=[Project type to generate.]:project type:(basic cpp-application cpp-library groovy-application groovy-library java-application java-library kotlin-application kotlin-library pom scala-library)' && ret=0 + ;; + (tasks) + _arguments \ + '--all[List all tasks, including subproject tasks.]' \ + '--group=[Show tasks only from given task group.]' && ret=0 + ;; + (test) + _arguments -C \ + '--debug-jvm[Enable debugging for the test process. The process is started suspended and listening on port 5005. Requires the "java" plugin.]' \ + '--fail-fast[Stops test execution after the first failed test. Requires the "java" plugin.]' \ + '--tests=[Sets test class or method name to be included, * is supported. Requires the "java" plugin.]' \ + '(-)*:: :->task-or-option' && ret=0 + ;; + (wrapper) + _arguments \ + '--distribution-type=[Binary-only or all with docs and sources]:*:distribution type:(bin all)' \ + '--gradle-version=[Set Gradle version for wrapper]' \ + '--gradle-distribution-sha256-sum=[SHA-256 checksum]' \ + '--gradle-distribution-url=[Set Gradle distribution URL]' && ret=0 + ;; + (*) + _arguments -C \ + {-a,--no-rebuild}'[Do not rebuild project dependencies.]' \ + '(--no-build-cache)--build-cache[Enable the Gradle build cache.]' \ + {-b,--build-file}'[Specifies the build file.]:build script:_files -g \*.gradle' \ + {-C,--cache}'[Specifies how compiled build scripts should be cached.]:cache policy:(on rebuild)' \ + {-c,--settings-file}'[Specifies the settings file.]:settings file:_files -g \*.gradle' \ + '(--no-configure-on-demand)--configure-on-demand[Only relevant projects are configured in this build run.]' \ + '--console=[Specifies which type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '--continue[Continues task execution after a task failure.]' \ + '-Dorg.gradle.cache.reserved.mb=[Reserve Gradle Daemon memory for operations.]' \ + '-Dorg.gradle.caching=[Set true to enable Gradle build cache.]:enable build cache:(true false)' \ + '-Dorg.gradle.console=[Set type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '-Dorg.gradle.daemon.debug=[Set true to debug Gradle Daemon.]:enable daemon debug:(true false)' \ + '-Dorg.gradle.daemon.idletimeout=[Kill Gradle Daemon after # idle millis.]' \ + '-Dorg.gradle.debug=[Set true to debug Gradle Client.]' \ + '-Dorg.gradle.jvmargs=[Set JVM arguments.]' \ + '-Dorg.gradle.java.home=[Set JDK home dir.]' \ + '-Dorg.gradle.logging.level=[Set default Gradle log level.]:log level:(quiet warn lifecycle info debug)' \ + '-Dorg.gradle.parallel=[Set true to enable parallel project builds.]:enable parallel build:(true false)' \ + '-Dorg.gradle.priority=[Set priority for Gradle worker processes.]:priority:(low normal)' \ + '-Dorg.gradle.warning.mode=[Set types of warnings to log.]:warning level:(all summary none)' \ + '-Dorg.gradle.workers.max=[Set the number of workers Gradle is allowed to use.]' \ + '(-i --info -w --warn -q --quiet)'{-d,--debug}'[Log in debug mode (includes normal stacktrace).]' \ + '(--no-daemon)--daemon[Uses the Gradle daemon to run the build. Starts the daemon if not running.]' \ + '--foreground[Starts the Gradle daemon in the foreground.]' \ + {-g,--gradle-user-home}'[Specifies the gradle user home directory.]:file:_directories' \ + \*--include-build'[Includes the specified build in the composite.]:file:_directories' \ + \*{-I,--init-script}'[Specifies an initialization script.]:init script:_files -g \*.gradle' \ + '(-d --debug -w --warn -q --quiet)'{-i,--info}'[Set log level to info.]' \ + '--max-workers[Set the maximum number of concurrent workers that Gradle may use.]:number workers' \ + {-m,--dry-run}'[Runs the builds with all task actions disabled.]' \ + '--no-color[Do not use color in the console output. (Removed in Gradle 3.0)]' \ + '(--build-cache)--no-build-cache[Do not use the Gradle build cache.]' \ + '(--configure-on-demand)--no-configure-on-demand[Disables configuration on demand.]' \ + '(--daemon)--no-daemon[Do not use the Gradle daemon to run the build.]' \ + '(--parallel)--no-parallel[Disables parallel execution to build projects.]' \ + '(--scan)--no-scan[Do not create a build scan.]' \ + '--offline[The build should operate without accessing network resources.]' \ + \*{-P+,--project-prop}'[Set project property for the build script (e.g. -Pmyprop=myvalue).]:project property (prop=val):' \ + {-p,--project-dir}'[Specifies the start directory for Gradle.]:start directory:_directories' \ + '(--no-parallel)--parallel[Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use.]' \ + '--profile[Profiles build execution time and generates a report in the /reports/profile directory.]' \ + '--priority[Set priority for Gradle worker processes.]:priority:(low normal)' \ + '--project-cache-dir[Specifies the project-specific cache directory.]:cache directory:_directories' \ + '(-d --debug -w --warn -i --info)'{-q,--quiet}'[Log errors only.]' \ + '--recompile-scripts[Force build script recompiling.]' \ + '--refresh[Refresh the state of resources of the type(s) specified.]:refresh policy:(dependencies)' \ + '--refresh-dependencies[Refresh the state of dependencies.]' \ + '--rerun-tasks[Ignore previously cached task results.]' \ + '(--no-scan)--scan[Create a build scan.]' \ + '(-S --full-stacktrace)'{-s,--stacktrace}'[Print out the stacktrace for all exceptions.]' \ + '(-s --stacktrace)'{-S,--full-stacktrace}'[Print out the full (very verbose) stacktrace for all exceptions.]' \ + '--system-prop[system property (prop=val)]' \ + {-t,--continuous}'[Enables continuous build. Gradle does not exit and will re-execute tasks when task file inputs change.]' \ + {-u,--no-search-upward}"[Don't search in parent folders for a settings.gradle file.]" \ + '(--write-locks)--update-locks[Perform a partial update of the dependency lock.]' \ + '(-d --debug -q --quiet -i --info)'{-w,--warn}'[Log warnings and errors only.]' \ + '--warning-mode=[Set types of warnings to log.]:warning mode:(all summary none)' \ + '(--update-locks)--write-locks[Persists dependency resolution for locked configurations.]' \ + {-x,--exclude-task}'[Specify a task to be excluded from execution.]' && ret=0 + ;; + esac + + return ret +} + +(( $+functions[_gradle_dependency_configurations] )) || +_gradle_dependency_configurations() { + local configurations + configurations=( + 'compileClasspath' + 'runtimeClasspath' + 'testCompileClasspath' + 'testRuntimeClasspath' + ) + _describe -t 'dependency configurations' "dependency configuration" configurations +} + +_gradle() { + local cur=${words[CURRENT]} + local curcontext="$curcontext" state + integer ret=1 + typeset -A opt_args + + _arguments -C \ + '(-)'{-\?,-h,--help}'[Shows a help message.]' \ + {-a,--no-rebuild}'[Do not rebuild project dependencies.]' \ + '(--no-build-cache)--build-cache[Enable the Gradle build cache.]' \ + {-b,--build-file}'[Specifies the build file.]:build script:_files -g \*.gradle' \ + {-C,--cache}'[Specifies how compiled build scripts should be cached.]:cache policy:(on rebuild)' \ + {-c,--settings-file}'[Specifies the settings file.]:settings file:_files -g \*.gradle:->argument-expected' \ + '(--no-configure-on-demand)--configure-on-demand[Only relevant projects are configured in this build run.]' \ + '--console=[Specifies which type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '--continue[Continues task execution after a task failure.]' \ + '-Dorg.gradle.cache.reserved.mb=[Reserve Gradle Daemon memory for operations.]' \ + '-Dorg.gradle.caching=[Set true to enable Gradle build cache.]' \ + '-Dorg.gradle.console=[Set type of console output to generate.]:console output type:(plain auto rich verbose)' \ + '-Dorg.gradle.daemon.debug=[Set true to debug Gradle Daemon.]' \ + '-Dorg.gradle.daemon.idletimeout=[Kill Gradle Daemon after # idle millis.]' \ + '-Dorg.gradle.debug=[Set true to debug Gradle Client.]' \ + '-Dorg.gradle.jvmargs=[Set JVM arguments.]' \ + '-Dorg.gradle.java.home=[Set JDK home dir.]' \ + '-Dorg.gradle.logging.level=[Set default Gradle log level.]:log level:(quiet warn lifecycle info debug)' \ + '-Dorg.gradle.parallel=[Set true to enable parallel project builds.]:(true false)' \ + '-Dorg.gradle.priority=[Set priority for Gradle worker processes.]:priority:(low normal)' \ + '-Dorg.gradle.warning.mode=[Set types of warnings to log.]:warning level:(all summary none)' \ + '-Dorg.gradle.workers.max=[Set the number of workers Gradle is allowed to use.]' \ + '(-i --info -w --warn -q --quiet)'{-d,--debug}'[Log in debug mode (includes normal stacktrace).]' \ + '(--no-daemon)--daemon[Uses the Gradle daemon to run the build. Starts the daemon if not running.]' \ + '--foreground[Starts the Gradle daemon in the foreground.]' \ + {-g,--gradle-user-home}'[Specifies the gradle user home directory.]:home directory:_directories:->argument-expected' \ + '(-)--gui[Launches the Gradle GUI. (Removed in Gradle 4.0)]' \ + \*--include-build'[Includes the specified build in the composite.]:file:_directories:->argument-expected' \ + \*{-I,--init-script}'[Specifies an initialization script.]:init script:_files -g \*.gradle:->argument-expected' \ + '(-d --debug -w --warn -q --quiet)'{-i,--info}'[Set log level to info.]' \ + '--max-workers[Set the maximum number of concurrent workers that Gradle may use.]:number workers:->argument-expected' \ + {-m,--dry-run}'[Runs the builds with all task actions disabled.]' \ + '--no-color[Do not use color in the console output. (Removed in Gradle 3.0)]' \ + '(--build-cache)--no-build-cache[Do not use the Gradle build cache.]' \ + '(--configure-on-demand)--no-configure-on-demand[Disables configuration on demand.]' \ + '(--daemon)--no-daemon[Do not use the Gradle daemon to run the build.]' \ + '(--parallel)--no-parallel[Disables parallel execution to build projects.]' \ + '(--scan)--no-scan[Do not create a build scan.]' \ + '--offline[The build should operate without accessing network resources.]' \ + \*{-P+,--project-prop}'[Set project property for the build script (e.g. -Pmyprop=myvalue).]:project property (prop=val):->argument-expected' \ + {-p,--project-dir}'[Specifies the start directory for Gradle.]:start directory:_directories:->argument-expected' \ + '(--no-parallel)--parallel[Build projects in parallel. Gradle will attempt to determine the optimal number of executor threads to use.]' \ + '--priority=[Set priority for Gradle worker processes.]:priority:(low normal)' \ + '--profile[Profiles build execution time and generates a report in the /reports/profile directory.]' \ + '--project-cache-dir=[Specifies the project-specific cache directory.]:cache directory:_directories:->argument-expected' \ + '(-d --debug -w --warn -i --info)'{-q,--quiet}'[Log errors only.]' \ + '--recompile-scripts[Force build script recompiling.]' \ + '--refresh[Refresh the state of resources of the type(s) specified.]:refresh policy:(dependencies)' \ + '--refresh-dependencies[Refresh the state of dependencies.]' \ + '--rerun-tasks[Ignore previously cached task results.]' \ + '(--no-scan)--scan[Create a build scan.]' \ + '(-S --full-stacktrace)'{-s,--stacktrace}'[Print out the stacktrace for all exceptions.]' \ + '(-s --stacktrace)'{-S,--full-stacktrace}'[Print out the full (very verbose) stacktrace for all exceptions.]' \ + '(-)--status[Shows status of running and recently stopped Gradle Daemons.]' \ + '(-)--stop[Stops all Gradle daemons.]' \ + '--system-prop[system property (prop=val)]' \ + {-t,--continuous}'[Enables continuous build. Gradle does not exit and will re-execute tasks when task file inputs change.]' \ + {-u,--no-search-upward}"[Don't search in parent folders for a settings.gradle file.]" \ + '(--write-locks)--update-locks[Perform a partial update of the dependency lock.]' \ + '(-)'{-v,--version}'[Print version info.]' \ + '(-d --debug -q --quiet -i --info)'{-w,--warn}'[Log warnings and errors only.]' \ + '--warning-mode=[Set types of warnings to log.]:warning mode:(all summary none)' \ + '(--update-locks)--write-locks[Persists dependency resolution for locked configurations.]' \ + {-x,--exclude-task}'[Specify a task to be excluded from execution.]' \ + '(-)*:: :->task-or-option' && ret=0 + + if [[ $words[CURRENT] != -* && $state != "argument-expected" ]]; then + __gradle_tasks && ret=0 + else + curcontext=${curcontext%:*:*}:gradle-$words[1]: + __gradle_subcommand && ret=0 + fi + + return ret +} + +_gradle "$@" diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_jfrog/README.md b/exact_dot_oh-my-zsh/exact_plugins/exact_jfrog/README.md new file mode 100644 index 0000000..1d85862 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_jfrog/README.md @@ -0,0 +1,11 @@ +# JFrog CLI + +This plugin provides completion for [JFrog CLI](https://github.com/jfrog/jfrog-cli). + +JFrog CLI provides a simple interface that automates access to [Artifactory](https://jfrog.com/artifactory), [Xray](https://jfrog.com/xray), [Bintray](https://jfrog.com/bintray) and [Mission Control](https://jfrog.com/mission-control) through their respective REST APIs. + +To use it, add `jfrog` to the plugins array in your zshrc file: + +```zsh +plugins=(... jfrog) +``` diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_jfrog/jfrog.plugin.zsh b/exact_dot_oh-my-zsh/exact_plugins/exact_jfrog/jfrog.plugin.zsh new file mode 100644 index 0000000..064ffa2 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_jfrog/jfrog.plugin.zsh @@ -0,0 +1,10 @@ +_jfrog() { + local -a opts + opts=("${(@f)$(_CLI_ZSH_AUTOCOMPLETE_HACK=1 ${words[@]:0:#words[@]-1} --generate-bash-completion)}") + _describe 'values' opts + if [[ $compstate[nmatches] -eq 0 && $words[$CURRENT] != -* ]]; then + _files + fi +} + +compdef _jfrog jfrog \ No newline at end of file diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_vagrant/vagrant.plugin.zsh b/exact_dot_oh-my-zsh/exact_plugins/exact_vagrant/vagrant.plugin.zsh new file mode 100644 index 0000000..a4e9b06 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_vagrant/vagrant.plugin.zsh @@ -0,0 +1,33 @@ +alias vgi="vagrant init" + +alias vup="vagrant up" +alias vd="vagrant destroy" +alias vdf="vagrant destroy -f" + +alias vssh="vagrant ssh" +alias vsshc="vagrant ssh-config" +alias vrdp="vagrant rdp" + +alias vh="vagrant halt" +alias vssp="vagrant suspend" +alias vst="vagrant status" +alias vre="vagrant resume" +alias vgs="vagrant global-status" + +alias vpr="vagrant provision" +alias vr="vagrant reload" +alias vrp="vagrant reload --provision" + +alias vp="vagrant push" +alias vsh="vagrant share" + +alias vba="vagrant box add" +alias vbr="vagrant box remove" +alias vbl="vagrant box list" +alias vbo="vagrant box outdated" +alias vbu="vagrant box update" + +alias vpli="vagrant plugin install" +alias vpll="vagrant plugin list" +alias vplun="vagrant plugin uninstall" +alias vplu="vagrant plugin update" diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_wakeonlan/README.md b/exact_dot_oh-my-zsh/exact_plugins/exact_wakeonlan/README.md new file mode 100644 index 0000000..3fcb6d7 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_wakeonlan/README.md @@ -0,0 +1,43 @@ +# wakeonlan + +This plugin provides a wrapper around the "wakeonlan" tool available from most +distributions' package repositories, or from [the following website](https://github.com/jpoliv/wakeonlan). + +To use it, add `wakeonlan` to the plugins array in your zshrc file: + +```zsh +plugins=(... wakeonlan) +``` + +## Usage + +In order to use this wrapper, create the `~/.wakeonlan` directory, and place in +that directory one file for each device you would like to be able to wake. Give +the file a name that describes the device, such as its hostname. Each file +should contain a line with the mac address of the target device and the network +broadcast address. + +For instance, there might be a file ~/.wakeonlan/leto with the following +contents: + +``` +00:11:22:33:44:55:66 192.168.0.255 +``` + +To wake that device, use the following command: + +```console +$ wake leto +``` + +The available device names will be autocompleted, so: + +```console +$ wake +``` + +...will suggest "leto", along with any other configuration files that were +placed in the ~/.wakeonlan directory. + +For more information regarding the configuration file format, check the +wakeonlan man page. diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_z/README.md b/exact_dot_oh-my-zsh/exact_plugins/exact_z/README.md new file mode 100644 index 0000000..ea8d461 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_z/README.md @@ -0,0 +1,23 @@ +# z - jump around + +This plugin defines the [z command](https://github.com/rupa/z) that tracks your most visited directories and allows you to access them with very few keystrokes. + +### Example +Assume that you have previously visited directory `~/.oh-my-zsh/plugins`. From any folder in your command line, you can quickly access it by using a regex match to this folder: + +```bash +/usr/bin$ z plug # Even 'z p' might suffice +~/.oh-my-zsh/plugins$ +``` + +### Setup +To enable z, add `z` to your `plugins` array in your zshrc file: + +```zsh +plugins=(... z) +``` + +### Further reading + +For advanced usage and details of z, see [README](./README) (in man page format, copied from [rupa/z](https://github.com/rupa/z)). + diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_zsh-interactive-cd/README.md b/exact_dot_oh-my-zsh/exact_plugins/exact_zsh-interactive-cd/README.md new file mode 100644 index 0000000..c8337fb --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_zsh-interactive-cd/README.md @@ -0,0 +1,23 @@ +# zsh-interactive-cd + +This plugin adds a fish-like interactive tab completion for the `cd` command. + +To use it, add `zsh-interactive-cd` to the plugins array of your zshrc file: +```zsh +plugins=(... zsh-interactive-cd) +``` + +![demo](https://user-images.githubusercontent.com/1441704/74360670-cb202900-4dc5-11ea-9734-f60caf726e85.gif) + +## Usage + +Press tab for completion as usual, it'll launch fzf automatically. Check fzf’s [readme](https://github.com/junegunn/fzf#search-syntax) for more search syntax usage. + +## Requirements + +This plugin requires [fzf](https://github.com/junegunn/fzf). Install it by following +its [installation instructions](https://github.com/junegunn/fzf#installation). + +## Author + +[Henry Chang](https://github.com/changyuheng) diff --git a/exact_dot_oh-my-zsh/exact_plugins/exact_zsh-interactive-cd/zsh-interactive-cd.plugin.zsh b/exact_dot_oh-my-zsh/exact_plugins/exact_zsh-interactive-cd/zsh-interactive-cd.plugin.zsh new file mode 100644 index 0000000..b0520c2 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_plugins/exact_zsh-interactive-cd/zsh-interactive-cd.plugin.zsh @@ -0,0 +1,148 @@ +# Copyright (c) 2017 Henry Chang + +__zic_fzf_prog() { + [ -n "$TMUX_PANE" ] && [ "${FZF_TMUX:-0}" != 0 ] && [ ${LINES:-40} -gt 15 ] \ + && echo "fzf-tmux -d${FZF_TMUX_HEIGHT:-40%}" || echo "fzf" +} + +__zic_matched_subdir_list() { + local dir length seg starts_with_dir + if [[ "$1" == */ ]]; then + dir="$1" + if [[ "$dir" != / ]]; then + dir="${dir: : -1}" + fi + length=$(echo -n "$dir" | wc -c) + if [ "$dir" = "/" ]; then + length=0 + fi + find -L "$dir" -mindepth 1 -maxdepth 1 -type d 2>/dev/null \ + | cut -b $(( ${length} + 2 ))- | sed '/^$/d' | while read -r line; do + if [[ "${line[1]}" == "." ]]; then + continue + fi + echo "$line" + done + else + dir=$(dirname -- "$1") + length=$(echo -n "$dir" | wc -c) + if [ "$dir" = "/" ]; then + length=0 + fi + seg=$(basename -- "$1") + starts_with_dir=$( \ + find -L "$dir" -mindepth 1 -maxdepth 1 -type d \ + 2>/dev/null | cut -b $(( ${length} + 2 ))- | sed '/^$/d' \ + | while read -r line; do + if [[ "${seg[1]}" != "." && "${line[1]}" == "." ]]; then + continue + fi + if [[ "$line" == "$seg"* ]]; then + echo "$line" + fi + done + ) + if [ -n "$starts_with_dir" ]; then + echo "$starts_with_dir" + else + find -L "$dir" -mindepth 1 -maxdepth 1 -type d \ + 2>/dev/null | cut -b $(( ${length} + 2 ))- | sed '/^$/d' \ + | while read -r line; do + if [[ "${seg[1]}" != "." && "${line[1]}" == "." ]]; then + continue + fi + if [[ "$line" == *"$seg"* ]]; then + echo "$line" + fi + done + fi + fi +} + +_zic_list_generator() { + __zic_matched_subdir_list "${(Q)@[-1]}" | sort +} + +_zic_complete() { + setopt localoptions nonomatch + local l matches fzf tokens base + + l=$(_zic_list_generator $@) + + if [ -z "$l" ]; then + zle ${__zic_default_completion:-expand-or-complete} + return + fi + + fzf=$(__zic_fzf_prog) + + if [ $(echo $l | wc -l) -eq 1 ]; then + matches=${(q)l} + else + matches=$(echo $l \ + | FZF_DEFAULT_OPTS="--height ${FZF_TMUX_HEIGHT:-40%} \ + --reverse $FZF_DEFAULT_OPTS $FZF_COMPLETION_OPTS \ + --bind 'shift-tab:up,tab:down'" ${=fzf} \ + | while read -r item; do + echo -n "${(q)item} " + done) + fi + + matches=${matches% } + if [ -n "$matches" ]; then + tokens=(${(z)LBUFFER}) + base="${(Q)@[-1]}" + if [[ "$base" != */ ]]; then + if [[ "$base" == */* ]]; then + base="$(dirname -- "$base")" + if [[ ${base[-1]} != / ]]; then + base="$base/" + fi + else + base="" + fi + fi + LBUFFER="${tokens[1]} " + if [ -n "$base" ]; then + base="${(q)base}" + if [ "${tokens[2][1]}" = "~" ]; then + base="${base/#$HOME/~}" + fi + LBUFFER="${LBUFFER}${base}" + fi + LBUFFER="${LBUFFER}${matches}/" + fi + zle redisplay + typeset -f zle-line-init >/dev/null && zle zle-line-init +} + +zic-completion() { + setopt localoptions noshwordsplit noksh_arrays noposixbuiltins + local tokens cmd + + tokens=(${(z)LBUFFER}) + cmd=${tokens[1]} + + if [[ "$LBUFFER" =~ "^\ *cd$" ]]; then + zle ${__zic_default_completion:-expand-or-complete} + elif [ "$cmd" = cd ]; then + _zic_complete ${tokens[2,${#tokens}]/#\~/$HOME} + else + zle ${__zic_default_completion:-expand-or-complete} + fi +} + +[ -z "$__zic_default_completion" ] && { + binding=$(bindkey '^I') + # $binding[(s: :w)2] + # The command substitution and following word splitting to determine the + # default zle widget for ^I formerly only works if the IFS parameter contains + # a space via $binding[(w)2]. Now it specifically splits at spaces, regardless + # of IFS. + [[ $binding =~ 'undefined-key' ]] || __zic_default_completion=$binding[(s: :w)2] + unset binding +} + +zle -N zic-completion +bindkey -M emacs '^I' zic-completion +bindkey -M viins '^I' zic-completion diff --git a/exact_dot_oh-my-zsh/exact_themes/random.zsh-theme b/exact_dot_oh-my-zsh/exact_themes/random.zsh-theme new file mode 100644 index 0000000..6cb7cc5 --- /dev/null +++ b/exact_dot_oh-my-zsh/exact_themes/random.zsh-theme @@ -0,0 +1,38 @@ +# Make themes a unique array +typeset -Ua themes + +if [[ "${(t)ZSH_THEME_RANDOM_CANDIDATES}" = array && ${#ZSH_THEME_RANDOM_CANDIDATES[@]} -gt 0 ]]; then + # Use ZSH_THEME_RANDOM_CANDIDATES if properly defined + themes=(${(@)ZSH_THEME_RANDOM_CANDIDATES:#random}) +else + # Look for themes in $ZSH_CUSTOM and $ZSH and add only the theme name + themes=( + "$ZSH_CUSTOM"/*.zsh-theme(N:t:r) + "$ZSH_CUSTOM"/themes/*.zsh-theme(N:t:r) + "$ZSH"/themes/*.zsh-theme(N:t:r) + ) + # Remove blacklisted themes from the list + for theme in random ${ZSH_THEME_RANDOM_BLACKLIST[@]}; do + themes=("${(@)themes:#$theme}") + done +fi + +# Choose a theme out of the pool of candidates +N=${#themes[@]} +(( N = (RANDOM%N) + 1 )) +RANDOM_THEME="${themes[$N]}" +unset N themes theme + +# Source theme +if [[ -f "$ZSH_CUSTOM/$RANDOM_THEME.zsh-theme" ]]; then + source "$ZSH_CUSTOM/$RANDOM_THEME.zsh-theme" +elif [[ -f "$ZSH_CUSTOM/themes/$RANDOM_THEME.zsh-theme" ]]; then + source "$ZSH_CUSTOM/themes/$RANDOM_THEME.zsh-theme" +elif [[ -f "$ZSH/themes/$RANDOM_THEME.zsh-theme" ]]; then + source "$ZSH/themes/$RANDOM_THEME.zsh-theme" +else + echo "[oh-my-zsh] Random theme '${RANDOM_THEME}' not found" + return 1 +fi + +echo "[oh-my-zsh] Random theme '${RANDOM_THEME}' loaded" diff --git a/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_autoexec.cfg b/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_autoexec.cfg index 96a03a4..f155175 100644 --- a/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_autoexec.cfg +++ b/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_autoexec.cfg @@ -33,7 +33,7 @@ net_graphproportionalfont "0" // small netgraph font echo "Net Settings loaded" // Mouse -sensitivity "1.1" +sensitivity "1" zoom_sensitivity_ratio_mouse "1.1" m_rawinput "1" // RInput via sourceGL instead m_pitch "0.022" @@ -127,7 +127,7 @@ cl_crosshaircolor_r "255.000000" cl_crosshairdot "0" cl_crosshairgap "-3" cl_crosshairscale "600" -cl_crosshairsize "3" +cl_crosshairsize "2" cl_crosshairstyle "4" cl_crosshairthickness "0" cl_crosshairusealpha "1" diff --git a/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_video.txt b/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_video.txt index 424b177..12c26ae 100644 --- a/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_video.txt +++ b/private_dot_local/share/private_Steam/userdata/97325688/730/local/cfg/executable_video.txt @@ -14,8 +14,8 @@ "setting.csm_quality_level" "2" "setting.mat_software_aa_strength" "1" "setting.mat_motion_blur_enabled" "0" - "setting.defaultres" "1680" - "setting.defaultresheight" "1050" + "setting.defaultres" "1920" + "setting.defaultresheight" "1080" "setting.aspectratiomode" "0" "setting.fullscreen" "1" "setting.nowindowborder" "0"