merge
This commit is contained in:
commit
fe98b0b36f
9 changed files with 15 additions and 14 deletions
5
.gitmodules
vendored
5
.gitmodules
vendored
|
@ -4,15 +4,12 @@
|
|||
[submodule "modules/syntax-highlighting/external"]
|
||||
path = modules/syntax-highlighting/external
|
||||
url = https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||
[submodule "modules/completion/external"]
|
||||
path = modules/completion/external
|
||||
url = https://github.com/zsh-users/zsh-completions.git
|
||||
[submodule "modules/prompt/external/powerline"]
|
||||
path = modules/prompt/external/powerline
|
||||
url = https://github.com/davidjrice/prezto_powerline.git
|
||||
[submodule "modules/prompt/external/agnoster"]
|
||||
path = modules/prompt/external/agnoster
|
||||
url = https://gist.github.com/3712874.git
|
||||
url = https://github.com/agnoster/agnoster-zsh-theme.git
|
||||
[submodule "modules/prompt/functions/pure"]
|
||||
path = modules/prompt/external/pure
|
||||
url = https://github.com/sindresorhus/pure.git
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
local remove_archive
|
||||
local success
|
||||
local file_name
|
||||
local file_path
|
||||
local extract_dir
|
||||
|
||||
if (( $# == 0 )); then
|
||||
|
@ -36,6 +37,7 @@ while (( $# > 0 )); do
|
|||
|
||||
success=0
|
||||
file_name="${1:t}"
|
||||
file_path="${1:A}"
|
||||
extract_dir="${file_name:r}"
|
||||
case "$1:l" in
|
||||
(*.tar.gz|*.tgz) tar xvzf "$1" ;;
|
||||
|
@ -60,10 +62,10 @@ while (( $# > 0 )); do
|
|||
(*.deb)
|
||||
mkdir -p "$extract_dir/control"
|
||||
mkdir -p "$extract_dir/data"
|
||||
cd "$extract_dir"; ar vx "../${1}" > /dev/null
|
||||
cd control; tar xzvf ../control.tar.gz
|
||||
cd ../data; tar xzvf ../data.tar.gz
|
||||
cd ..; rm *.tar.gz debian-binary
|
||||
cd "$extract_dir"; ar vx "${file_path}" > /dev/null
|
||||
cd control; tar xvf ../control.tar.*
|
||||
cd ../data; tar xvf ../data.tar.*
|
||||
cd ..; rm control.tar.* data.tar.* debian-binary
|
||||
cd ..
|
||||
;;
|
||||
(*)
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit fb1bf123198bef4710aafc7d59cce4e2e0a3dd20
|
|
@ -15,7 +15,7 @@ Aliases
|
|||
- `dnfr` removes package(s).
|
||||
- `dnfs` searches for a package.
|
||||
- `dnfu` updates packages.
|
||||
- `dnfU` upgrates packages.
|
||||
- `dnfU` upgrades packages.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
|
|
@ -30,6 +30,9 @@ export GPG_TTY="$(tty)"
|
|||
|
||||
# Integrate with the SSH module.
|
||||
if grep 'enable-ssh-support' "$_gpg_agent_conf" &> /dev/null; then
|
||||
# Load required functions.
|
||||
autoload -Uz add-zsh-hook
|
||||
|
||||
# Override the ssh-agent environment file default path.
|
||||
_ssh_agent_env="$_gpg_agent_env"
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit c4a83561a12b898ff7145856d0e6ae50757e28ba
|
||||
Subproject commit 2c295432175990c1bb4e90bc13f609daa67a25d6
|
2
modules/prompt/external/pure
vendored
2
modules/prompt/external/pure
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 04212522f39f43998d001b4a94b05856f010a54b
|
||||
Subproject commit 95e7fd7de7af9cf68678c31cac22b79816b44c90
|
|
@ -1 +1 @@
|
|||
Subproject commit 3dc574190071ef59054f6d693132410b37aa3ae4
|
||||
Subproject commit 44e5323b53edd221a79a585869cf4833d555ba58
|
|
@ -15,7 +15,7 @@ Aliases
|
|||
- `yumr` removes package(s).
|
||||
- `yums` searches for a package.
|
||||
- `yumu` updates packages.
|
||||
- `yumU` upgrates packages.
|
||||
- `yumU` upgrades packages.
|
||||
|
||||
Authors
|
||||
-------
|
||||
|
|
Loading…
Add table
Reference in a new issue