Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #1

Open
wants to merge 281 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
a2398fc
node: Cache completion for additional helpers
indrajitr Dec 7, 2018
f745645
command-not-found: Support custom Homebrew tap on MacOS
indrajitr Dec 11, 2018
a987c8b
python: Fix pip compctl file match pattern
indrajitr Dec 12, 2018
d45d87b
node: Make nvm lookup mechanism more efficient in homebrewed environment
indrajitr Dec 13, 2018
6a2cc2e
rsync: Update link to Bombich rsync page again
indrajitr Dec 13, 2018
d275f31
syntax-highlighting: Further clarify relative module ordering
indrajitr Dec 13, 2018
39e1a63
Aliases to digital sign/verify commits and tags (#651)
Dec 13, 2018
eee3c9c
git: add documentation for new aliases
belak Dec 13, 2018
54dff31
archive: Enhance 'archive' helper to support multi file archive
indrajitr Dec 13, 2018
1118408
homebrew: Simplify array assignment
indrajitr Dec 14, 2018
3093f1b
homebrew: Load 'HOMEBREW_' prefixed variables only
indrajitr Dec 14, 2018
dc8e168
command-not-found: Minor reformatting
indrajitr Dec 15, 2018
9d3e2f0
python: Expand compctl matches for pip variants
indrajitr Dec 15, 2018
0e6429d
Remove duplicated information from git module README (#1657)
diraol Dec 17, 2018
a338cba
python: Use brace expansion for pip compctl match
indrajitr Dec 17, 2018
4a16d3f
Fix typo: gupl --> gulp (#1668)
jeffwidman Jan 3, 2019
88456ec
Updating submodules to lastest tags/master commits
diraol Jan 7, 2019
ba4063f
Remove old prompt tempfile and pid variable
fd0 Jan 6, 2019
777674e
Update syntax-highlighting submodule
diraol Jan 7, 2019
4abbc55
remove mutually exclusive option
hotpxl Jan 4, 2019
d22effb
editor: allow alt+arrow keys for word movement (#1688)
hotpxl Feb 12, 2019
5d7c990
archive: enhance parallel operations
maximbaz Feb 16, 2019
b8d7e2c
Add zstyle option to disable zsh option CORRECT
monai Jan 19, 2019
1f4601e
Disable node-info output when value is system.
mkcode Mar 18, 2019
bb901df
Update zsh-autosuggestions submodule
mrymtsk May 21, 2019
ac65e8e
Add powerlevel10k theme (#1695)
romkatv May 29, 2019
1d58546
prompt: update powerlevel10k to latest commit
belak May 29, 2019
09e83ed
prompt: update powerlevel10k submodule (#1715)
romkatv Jun 17, 2019
e94b6b2
prompt: update powerlevel10k submodule to the latest commit (#1717)
romkatv Jul 2, 2019
6dd97d1
prompt: update powerlevel10k submodule to the latest commit (#1726)
romkatv Jul 23, 2019
3ae422a
prompt: update powerlevel10k submodule to the latest commit (#1727)
romkatv Jul 24, 2019
5566a9c
Resolves 1641 - Checks whether the prompt is set to be managed or not…
johnpneumann Jul 25, 2019
b01f02a
prompt: update powerlevel10k submodule to the latest commit
romkatv Jul 31, 2019
abb0c7e
prompt: update powerlevel10k submodule to the latest commit
romkatv Aug 2, 2019
a8087e0
prompt: update powerlevel10k submodule to the latest commit
romkatv Aug 19, 2019
3494869
syntax-highlighting: update external dependency
aerialls Aug 13, 2019
8914274
prompt: update zsh-async to fix an infinite loop (#1734)
pedrosland Aug 19, 2019
8b1a7af
prompt: update powerlevel10k submodule to the latest commit (#1738)
romkatv Sep 6, 2019
43214f1
history: Permit use of previously set HISTFILE
shaneog Sep 10, 2019
75940e8
directory: update docs to clarify it doesn't really set AUTO_NAME_DIR…
romkatv Sep 10, 2019
6ae2f39
ruby: support environment variable RBENV_ROOT
laggardkernel Apr 25, 2019
61de4d1
node: support environment variables NVM_DIR and NODENV_ROOT
laggardkernel Apr 25, 2019
f596d5d
python: improve PYENV_ROOT detection
laggardkernel Apr 25, 2019
75b112b
node, python, ruby: update docs about new envars
belak Sep 10, 2019
9507a0e
tmux: ignore tmux autostart in vscode terminal (#1718)
robsonpeixoto Sep 10, 2019
2873885
utility: fix safe-ops commands
belak Sep 22, 2019
55eb406
Remove alias for invalid `brew cleanup --force`
lambdanerd Oct 11, 2019
1bc0da5
Init submodules when using zprezto-update (#1713)
lodagro Oct 14, 2019
6d65cb4
Remove documentation for obsolete `brewC` alias
lambdanerd Oct 17, 2019
ed6303c
homebrew: add alias `brewL`
lambdanerd Oct 17, 2019
0af28e7
prompt: update powerlevel10k submodule to the latest commit (#1757)
romkatv Nov 5, 2019
2d6205e
prompt: update powerlevel10k submodule to the latest commit (#1761)
romkatv Nov 10, 2019
a5ebde1
prompt: update powerlevel10k submodule to the latest commit (#1768)
romkatv Dec 6, 2019
e86200e
Allow mapping Ctrl+S and Ctrl+Q shortcuts (#1750)
maximbaz Dec 18, 2019
7c94154
environment: apply `stty -ixon` only to tty (#1771)
romkatv Dec 27, 2019
c6efe80
runcoms: don't raise an error in zlogin when stderr is not a TTY (#1775)
romkatv Jan 11, 2020
a3a51bd
Support pmodule-allow-overrides feature (#1780)
mattmc3 Jan 13, 2020
2acaec8
autosuggestions: update to v0.6.4
aldanor Jan 14, 2020
9ae279e
Allow module functions directory to be a symlink
jcassee Jan 8, 2020
1f52b03
prompt: update powerlevel10k submodule to the latest commit (#1784)
romkatv Jan 16, 2020
4a32e9d
node: suppress node-info when nvm points system-wide node (#802)
wookayin Jan 20, 2020
7cad349
environment: improve the TTY check (#1785)
romkatv Jan 20, 2020
66b9ea7
Update documentation
belak Jan 20, 2020
4bcbe2e
prompt: update powerlevel10k submodule to v1.1
romkatv Feb 2, 2020
e9f281c
Updated prompt pure to version 1.11.0
synasius Feb 11, 2020
92e6b37
prompt: update powerlevel10k submodule to v1.2.0
romkatv Feb 26, 2020
94f9e44
use $TTY instead of $(tty); it's faster and more reliable
romkatv Mar 2, 2020
d955fbd
prompt: update powerlevel10k submodule to v1.3.0
romkatv Mar 6, 2020
cfeb8cd
prompt: update powerlevel10k submodule to v1.4.0
romkatv Mar 16, 2020
1b99be8
Update syntax-highlighting module
belak Mar 19, 2020
f4ca9eb
feat(helper): add os-type helper functions
casaper Feb 13, 2020
f479f37
prompt: update powerlevel10k submodule to v1.5.0
romkatv Mar 22, 2020
d5bef14
Fix missing dependency on helper module for helpers added in #1793 (#…
char8 Mar 29, 2020
5b03d7f
prompt: fix usage of zsh-async in sorin prompt (#1810)
ackerleytng Mar 29, 2020
95ff036
fix: regression in homebrew module (#1816)
srijanshetty Apr 6, 2020
de7b3b7
Use shallow clone for powerlevel9k and powerlevel10k submodules (#1819)
vbauerster Apr 8, 2020
3423856
homebrew: load helper dependency
zmb3 Apr 22, 2020
530ea10
prompt: update powerlevel10k submodule to v1.7.0
romkatv Apr 27, 2020
13c61ba
Do not source history-substring-search if already loaded (#1830)
amynbe May 2, 2020
649c0e4
[git] Add git pull autostash alias
diraol May 14, 2020
793f239
prompt: update powerlevel10k submodule to v1.10.0
romkatv May 20, 2020
cb69d2d
Merge pull request #1836 from diraol/dro/git_pull_autostash
srijanshetty May 29, 2020
b8f5b31
prompt: update powerlevel10k submodule to v1.11.0
romkatv May 31, 2020
ff91c8d
Make .zcomp* location configurable (#1842)
texastoland Jun 4, 2020
20a78c0
Remove `--all` from git alias `glg` (#1853)
hidekuro Jun 29, 2020
2d37633
Ask pyenv whether pip exists if installed (#1848)
jcassee Jun 29, 2020
a132c10
git-info: use tab as separator for splitting ahead_and_behind (#902)
zmwangx Jun 29, 2020
c21295b
prompt: update powerlevel10k submodule to v1.12.0
romkatv Jul 6, 2020
4e7ab4b
utility, helper: add aliases to use with termux terminal emulator (an…
Blaradox Jul 20, 2020
cb8b9ca
README: fix small grammatical error (#1857)
eterny13 Jul 20, 2020
685da20
completion: bump version to tags/0.32.0 (#1856)
iiharu Jul 22, 2020
e919723
Add check for empty WORKON_HOME (#1861)
oohlaf Jul 27, 2020
3888227
Add ^_ mapping to undo in viins mode (#1860)
Jul 30, 2020
0a40549
prompt: update powerlevel10k submodule to v1.13.0
romkatv Sep 1, 2020
e915c34
prompt: update powerlevel10k submodule to v1.14.3
romkatv Nov 26, 2020
b7a80d9
prompt: update powerlevel10k submodule to v1.14.4
romkatv Dec 18, 2020
c43d483
prompt: update powerlevel10k submodule to v1.14.5
romkatv Dec 21, 2020
704fc46
prompt: update powerlevel10k submodule to v1.14.6
romkatv Jan 19, 2021
b8a3d90
Fix a typo s/eigth/eighth/
kachick Apr 3, 2021
d66041c
Update history-substring-search submodule to v1.0.2
ytang Feb 14, 2021
a7f223d
Enable `history-substring-search` as a default module
kachick Apr 3, 2021
76b8c81
osx module mand fix
herobs Mar 1, 2021
428632a
history: Minor formatting update
indrajitr Apr 26, 2021
ce93702
history: Update doc to accommodate recent macOS
indrajitr Apr 26, 2021
0a07ba2
prompt: Remove Powerlevel9k
indrajitr Apr 26, 2021
a2f3f41
prompt: Make 'powerlevel9k' removal warning message friendlier
indrajitr Apr 29, 2021
4de0377
Add support for zstd compressed tarballs to module 'archive'
Nov 7, 2020
095f447
base: Allow loading more specific 'run-help' function
indrajitr Apr 29, 2021
7222fe5
utility: Autoload helper functions for 'run-help'
indrajitr Apr 29, 2021
8003d0c
git: Autoload helper functions for 'run-help'
indrajitr Apr 29, 2021
40cc9f5
command-not-found: Simplify Homebrew on macOS setup
indrajitr Apr 30, 2021
db6cd0d
prompt: Update 'powerlevel9k' removal warning with instruction
indrajitr Apr 30, 2021
16ddedd
command-not-found: Update docs for Homebrew
indrajitr Apr 30, 2021
c517514
prompt: Fixup `~/.zpreztorc` in p9k removal warning
indrajitr Apr 30, 2021
6a70bdf
Ensure compinit updates its modified date
mattmc3 Jan 8, 2021
f651140
completion: Add note about keep zcompdump younger than cache time
indrajitr Apr 30, 2021
63bc506
Delete prompt_powerlevel9k_setup
jeffwidman Apr 30, 2021
8a967fc
base: Check for 'run-help' in `aliases` hash before evicting
indrajitr May 1, 2021
5a8bfd5
helper: Update docs for OS detection helpers
indrajitr May 2, 2021
93556a7
archive: Remove unnecessary interpreter directive
indrajitr May 2, 2021
9d42fea
homebrew: cask aliases update
Jan 8, 2021
3285b33
homebrew: Remove wrapper function for deprecation warning
indrajitr May 1, 2021
f830065
homebrew: Add 'brew upgrade' alias for cask
indrajitr May 1, 2021
1d1ae0a
homebrew: Update documentation
indrajitr May 1, 2021
509c5ca
history: Move HISTFILE path to more conventional one
indrajitr May 2, 2021
e87a9b0
completion: Add completion for keg-only brewed curl when available
indrajitr May 2, 2021
68300e6
node: Fixup nvm path detection for Homebrew based nvm
indrajitr May 3, 2021
261d3b8
rsync: Remove broken HFS+ specific compression flag
indrajitr May 3, 2021
788aa3d
rsync: Check for new rsync before applying newer options
indrajitr May 3, 2021
d04a6ef
rsync: Recommend Homebrew or MacPorts rsync for macOS
indrajitr May 4, 2021
8edc5e9
environment: Simplify nested conditional block
indrajitr May 3, 2021
d80e393
general: Reformat documentation with better formatting and wording
indrajitr May 4, 2021
742c1ea
history: use external `mv` command for HISTFILE migration
indrajitr May 5, 2021
95d223a
prompt: Fix git submodule path for 'pure' with actual path
bXV0ZQ Apr 23, 2020
be61026
general: Apply submodules' path change in doc and `zprezto-update`
indrajitr May 5, 2021
0628b91
completion: Update zsh-completions submodule to 0.33.0
indrajitr May 7, 2021
b14aca3
prompt: Update async helper to 1.8.5
indrajitr May 12, 2021
424d4cb
utility: Detect GNU 'ls' before applying the relevant tweaks
indrajitr May 1, 2021
1ff9421
general: Update documentation better qualifying runcom paths
indrajitr May 5, 2021
2368c91
utility: Honor pre-defined COLOR settings for grep
indrajitr May 9, 2021
fae5e49
utility: Check best-fit Python version for 'http-serve'
indrajitr May 9, 2021
6c5657b
zprofile: Don't exit 'less' when everything fits the screen
indrajitr May 9, 2021
d51e5ce
utility: Always use 'git' fallback for 'wdiff' wrapper
indrajitr May 10, 2021
6eb4021
utility: Remove redundant `function` clause in 'diff'
indrajitr May 10, 2021
d3d79bb
utility: Use Zsh native mechanism to detect GNU 'du'
indrajitr May 10, 2021
e07fd05
utility: Simplify conditional block for 'make' helper
indrajitr May 10, 2021
7980dd9
gnu-utility: Add more utility commands and rearrange
indrajitr May 10, 2021
515d70f
utility: Add support for 'aria2c' in 'get' alias
indrajitr May 12, 2021
c6b59f8
completion: Set standard style used by 'list-colors'
indrajitr May 12, 2021
af46875
node: Revamp and optimize 'node' module
indrajitr May 13, 2021
f84075b
node: Prefer nodenv over nvm when available
indrajitr May 17, 2021
9f37fc9
node: Optimize completions for loading lazily on demand
indrajitr May 15, 2021
28ec39d
node: Add environment variable to store 'n' cache
indrajitr May 17, 2021
9459a71
node: Add handy aliases for 'npm'
indrajitr May 17, 2021
efebe3e
git: Alias and function cleanup and formatting for clarity
indrajitr May 11, 2021
a3643f1
git: Optimize scripts for git helper functions
indrajitr May 20, 2021
c4a8f44
git: Use `update` instead of `foreach` in alias 'gSu'
hidekuro May 17, 2021
979144d
git: Update minimum required git version to 2.11
indrajitr May 17, 2021
7052e2a
completion: Skip completion lookup for key-only brewed curl
indrajitr May 24, 2021
53033bc
Fix broken source commands in node module
ehrenkret May 24, 2021
9037fda
completion: Avoid double-quoting LS_COLORS for completion
indrajitr May 25, 2021
d686da3
python: Reformat and apply visual cleanup
indrajitr Dec 1, 2020
f0942e6
python: Optimize completion for loading lazily on demand
indrajitr Dec 1, 2020
afe59b2
python: Update pyenv initialization flow per pyenv 2.0
indrajitr May 24, 2021
3744336
ruby: Cleanup and optimize 'ruby' module
indrajitr May 17, 2021
f1e24d3
completion: Unset local variable outside condition block
indrajitr May 28, 2021
6833fcd
node: Cleanup and optimize 'node' module
indrajitr May 26, 2021
061a7b9
prompt: update powerlevel10k submodule to v1.15.0
romkatv Jun 10, 2021
866d5df
Add conda to the list of requirements
tblaschke Jun 23, 2021
f3c92ff
utility: Pipe diff output through colordiff Instead of aliasing
indrajitr Jun 23, 2021
2451239
general: Clarify relative ordering of modules in docs
indrajitr Jul 3, 2021
48291f6
general: Reformat runcom documentation
indrajitr Jul 5, 2021
166cbe2
autosuggestions: Update zsh-autosuggestions to 0.7.0
indrajitr Jul 4, 2021
7f8b9b8
general: Correct typo in installation instructions
AndrewKvalheim Nov 12, 2021
ecaed1c
change polarity of test for BROWSER
idcrook Nov 16, 2021
7884fb2
prompt: update powerlevel10k submodule to v1.16.0
romkatv Jan 11, 2022
d6e1ef5
prompt: update powerlevel10k submodule to v1.16.1
romkatv Feb 2, 2022
d840f0f
Fix crash on open caused by incorrect conditional in python module
zbirenbaum Feb 4, 2022
bf3dfe8
Update Pure prompt to 1.20.0
mattmc3 Feb 15, 2022
20641f3
Merge pull request #1981 from zbirenbaum/python_fix
zbirenbaum Feb 23, 2022
7ec1ecd
prompt: Update pure submodule to 1.20.1
indrajitr Feb 26, 2022
1515008
Only export env variables in zprofile if unset
akanter Mar 13, 2022
98d69fc
zprofile: adjust condition for `LESSOPEN` export
indrajitr Mar 29, 2022
1ff1099
Allow users to set a dirty-branch format
jboulter11 Mar 6, 2022
3da6727
fix: use inflating binaries instead of deflating in unarchive function
lecodeski Mar 18, 2022
2c66331
fix: use deflating flag for pixz in unarchive function
lecodeski Apr 5, 2022
ac1c39d
completion: Detect Homebrew prefix internally, not idiomatically
indrajitr Mar 30, 2022
c857e80
command-not-found: Detect Homebrew repo internally, not idiomatically
indrajitr Apr 1, 2022
3dc3fa7
zprofile: Expand the default list of well known paths
indrajitr Apr 1, 2022
dea85a0
feat(module/history): add full configurability
Shea690901 Apr 5, 2022
12df136
fix: heading level for new hist file settings
lecodeski Apr 11, 2022
3a471a0
Update docker compose references
benfreke Jun 8, 2022
b2bc66c
Add Fig as an installation method to the README
ibayramli Jun 15, 2022
0aef808
completion: Update completion submodule to 0.34.0
indrajitr Jul 21, 2022
3ea20cf
utility: Make 'http-serve' handler faster for well known cases
indrajitr Aug 3, 2022
51c4ff6
feat(module/ssh): add globbing for ssh-add param
Shea690901 Apr 7, 2022
357ce2e
Add exception for PyCharm terminal emulation
tblaschke Oct 2, 2021
97f36e9
Add `-` alias for `cd -`
Enzime Feb 5, 2022
ca9012c
Set `EXTENDED_GLOB` in the python module
jeffwidman Oct 25, 2022
e3a9583
Support `virtualenvwrapper` with / without `pyenv` `virtualenv-init` …
jeffwidman Oct 26, 2022
e50b93c
Fix zcompile race condition
huyz Dec 23, 2022
a4ca924
prompt: update powerlevel10k submodule to v1.17.0
romkatv Jan 14, 2023
8be95c9
Fix osx module manp function
mattmc3 Jan 29, 2023
fc444f5
gnu-utility: add awk
jbsilva Jan 31, 2023
da87c79
Add zstyle to skip aliases for additional modules
mattmc3 Apr 13, 2023
0c364cd
prompt: Update async submodule to 1.8.6
indrajitr Apr 27, 2023
f5dff4f
prompt: Update pure submodule to 1.21.0
indrajitr Apr 27, 2023
e7f75d2
prompt: Remove 'powerlevel9k' deprecation warning
indrajitr Apr 27, 2023
8d895a7
history: Remove 'HISTFILE' path relocation warning
indrajitr Apr 27, 2023
52bf42f
python: Expand Python command pattern per convention
indrajitr Apr 27, 2023
f7cb1fe
gnu-utility: Remove now obsolete egrep and fgrep
indrajitr Apr 27, 2023
3c002f7
prompt: update powerlevel10k submodule to v1.18.0
romkatv May 4, 2023
e14fdff
history: Remove interim zstyle variables
indrajitr May 5, 2023
5ca892d
history: Reformat inline comments
indrajitr May 5, 2023
8ee9d1b
general: Documentation update for zstyle based alias skipping support
indrajitr May 5, 2023
8d00c51
python: Remove pip completion from prezto local
indrajitr May 5, 2023
c9c716e
prompt: update powerlevel10k submodule to v1.19.0
romkatv Jun 23, 2023
d80e4aa
prompt: Update pure submodule to 1.22.0
indrajitr Sep 12, 2023
5ac0777
history-substring-search: Update history-substring-search submodule t…
indrajitr Sep 12, 2023
64d46c4
completion: Update completion submodule to 0.35.0
indrajitr Sep 12, 2023
1b0cc0a
utility: Detect lsd and honor its GNU ls compatibility
indrajitr Sep 12, 2023
bd180ee
history-substring-search: add fuzzy and unique
dllud May 19, 2023
9bf1ae6
feat(history-substring-search): add `prefixed` setting
mritd Sep 19, 2021
74a19fb
docs(history-substring-search): add `prefixed` setting example comment
mritd Sep 20, 2021
5ac930d
history-substring-search: Tweak documentation and cleanup
indrajitr Sep 12, 2023
457ade4
python: Remove pyenv init woraround for pyenv >= 2.3.0
johndbritton Oct 5, 2023
347441a
remove alias sl='ls'
abizer Nov 6, 2023
f04191a
feat: Update submodules to avoid error with using zsh 5.9
ntnamazu Sep 23, 2023
380b96a
feat(editor): add zstyle configuration for WORDCHARS
Kuruyia Nov 26, 2023
c0cdc12
editor: Adjust subheading level in documentation
indrajitr Nov 30, 2023
ac356c8
Adjust instruction for setting custom $ZDOTDIR
indrajitr Jan 19, 2024
d03bc03
prompt: update powerlevel10k submodule to v1.20.0
romkatv Jan 26, 2024
c667dd3
fix zstyle case-insensitive completion
CT075 Mar 12, 2024
cc3b6e0
Allow .dir_colors to be a symlink
hotpxl Apr 2, 2024
5ff938d
Update Python virtualenvwrapper documentation
hotpxl Mar 31, 2024
185733a
Update history-substring-search
hotpxl Mar 31, 2024
6bf4505
Allow overriding _ssh_agent_sock for symmetry to _ssh_agent_env
hotpxl Apr 4, 2024
085ab11
osx: Add trash function
mattmc3 Dec 12, 2023
f055c50
screen module: don't try to attach to dead screens
presto8 Dec 7, 2023
a79c3b4
Remove Python module comment about completion
hotpxl Apr 5, 2024
005709d
Cache brew shellenv results
hotpxl Apr 5, 2024
775f14d
homebrew: Simplify caching `brew shellenv`
indrajitr Apr 9, 2024
f5a8cb4
Removing fig from README.md
lnlyssg Apr 15, 2024
9e28cb4
[Bump] Completion module
diraol Jun 3, 2024
a217f1c
[Bump] Syntax Highlighting to 0.8.0
diraol Jun 3, 2024
9195b66
[Bump] Pure prompt to 1.23.0
diraol Jun 3, 2024
9626ce2
Add exception for VSCode env helper
msdx321 Dec 11, 2024
2388b8f
autosuggestions: Update autosuggestions module to 0.7.1
indrajitr Dec 27, 2024
61d7dc9
completion: Update completion module to current master
indrajitr Dec 27, 2024
427268c
history-substring-search: Update history-substring-search module to c…
indrajitr Dec 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[submodule "modules/prompt/external/agnoster"]
path = modules/prompt/external/agnoster
url = https://github.com/agnoster/agnoster-zsh-theme.git
[submodule "modules/prompt/functions/pure"]
[submodule "modules/prompt/external/pure"]
path = modules/prompt/external/pure
url = https://github.com/sindresorhus/pure.git
[submodule "modules/fasd/external"]
Expand All @@ -25,6 +25,7 @@
[submodule "modules/prompt/external/async"]
path = modules/prompt/external/async
url = https://github.com/mafredri/zsh-async.git
[submodule "modules/prompt/external/powerlevel9k"]
path = modules/prompt/external/powerlevel9k
url = https://github.com/bhilburn/powerlevel9k.git
[submodule "modules/prompt/external/powerlevel10k"]
path = modules/prompt/external/powerlevel10k
url = https://github.com/romkatv/powerlevel10k.git
shallow = true
65 changes: 32 additions & 33 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
Contributing
------------
# Contributing

This project would not exist without all of its users and [contributors][1].

If you have ideas on how to make the configuration easier to maintain or
improve its performance, do not hesitate to fork and send pull requests.

### Issue Reporting
## Issue Reporting

- Check that the issue has not already been reported.
- Check that the issue has not already been fixed in the latest code.
- Open an issue with a clear title and description in grammatically correct,
complete sentences.
- Check that the issue has not already been reported.
- Check that the issue has not already been fixed in the latest code.
- Open an issue with a clear title and description in grammatically correct,
complete sentences.

### Pull Request
## Pull Request

- Read [how to properly contribute to open source projects on GitHub][2].
- Use a topic branch to easily amend a pull request later, if necessary.
- Write [good commit messages][3].
- Squash commits on the topic branch before opening a pull request.
- Use the same coding style and spacing.
- Open a [pull request][4] that relates to but one subject with a clear
title and description in grammatically correct, complete sentences.
- Read [how to properly contribute to open source projects on GitHub][2].
- Use a topic branch to easily amend a pull request later, if necessary.
- Write [good commit messages][3].
- Squash commits on the topic branch before opening a pull request.
- Use the same coding style and spacing.
- Open a [pull request][4] that relates to but one subject with a clear title
and description in grammatically correct, complete sentences.

#### Code Style
### Code Style

This project follows the [Google Shell Style Guide][5] when possible. However,
there are a number of additional things to keep in mind.

- Local variables should be used whenever possible.
- Prefer `zstyle` over environment variables for configuration.
- Prefer (( ... )) over [[ ... ]] for arithmetic expression.
- Use the function keyword to define functions.
- The 80 character hard limit can be waived for readability.
- Local variables should be used whenever possible.
- Prefer `zstyle` over environment variables for configuration.
- Prefer (( ... )) over [[ ... ]] for arithmetic expression.
- Use the function keyword to define functions.
- The 80 character hard limit can be waived for readability.

#### Using an Alternative zprezto Directory
### Using an Alternative *zprezto* Directory

To work on zprezto without messing with your current configuration:
To work on Prezto without affecting your current configuration:

```sh
mkdir devel-zprezto
Expand All @@ -52,24 +51,24 @@ done

Then to start zsh in this development environment you will run:

```sh
```console
ZDOTDIR=/path/to/devel-zprezto zsh
```

#### Modules
### Modules

- A *README.md* must be present.
- Large functions must be placed in a *functions* directory.
- Functions that take arguments must have completion.
- A *README.md* must be present.
- Large functions must be placed in a *functions* directory.
- Functions that take arguments must have completion.

#### Themes
### Themes

- A screenshots section must be present in the file header.
- The pull request description must have [embedded screenshots][6].
- A screenshots section must be present in the file header.
- The pull request description must have [embedded screenshots][6].

[1]: https://github.com/sorin-ionescu/prezto/contributors
[2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request
[2]: https://gun.io/blog/how-to-github-fork-branch-and-pull-request
[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
[4]: https://help.github.com/articles/using-pull-requests
[5]: https://google.github.io/styleguide/shell.xml
[6]: http://daringfireball.net/projects/markdown/syntax#img
[6]: https://github.github.com/gfm/#images
181 changes: 105 additions & 76 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,131 +1,160 @@
Prezto — Instantly Awesome Zsh
==============================
# Prezto — Instantly Awesome Zsh

Prezto is the configuration framework for [Zsh][1]; it enriches the command line
interface environment with sane defaults, aliases, functions, auto completion,
and prompt themes.

Installation
------------
## Installation

### Manual

Prezto will work with any recent release of Zsh, but the minimum required
version is 4.3.11.
version is **4.3.11**.

01. Launch Zsh:

```console
zsh
```

02. Clone the repository:

```console
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
```

<details>
<summary><em>Optional: Installing in <code>$XDG_CONFIG_HOME</code></em></summary>

Optionally, if you already have `$XDG_CONFIG_HOME` configured (usually as
_`$HOME/.config`_ by default) and intend to install Prezto under
_`$XDG_CONFIG_HOME/zsh`_ instead, you can clone the repository there and
configure `$ZDOTDIR` separately if not already configured.

- Clone the repository:

1. Launch Zsh:
```console
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-${XDG_CONFIG_HOME:-$HOME/.config}/zsh}/.zprezto"
```

```console
zsh
```
- Configure `$XDG_CONFIG_HOME` and `$ZDOTDIR` in _`$HOME/.zshenv`_:

2. Clone the repository:
```sh
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:=$HOME/.config}"
[[ -d $XDG_CONFIG_HOME/zsh ]] && export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
source "$ZDOTDIR/.zshenv"
```

```console
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
```
</details>

3. Create a new Zsh configuration by copying the Zsh configuration files
provided:
03. Create a new Zsh configuration by copying/linking the Zsh configuration
files provided:

```sh
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
```
```console
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
```

Note: If you already have any of the given config files, ln will error. In
simple cases you can add `source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"` to
the bottom of your `.zshrc` to load prezto but keep your config intact. For
more complicated setups, it is recommended that you back up your original
configs and replace them with the provided prezto runcoms.
**Note:** If you already have any of the given configuration files, `ln` in
the above operation will cause an error. In simple cases, you can load
Prezto by adding the line `source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"` to
the bottom of your _`${ZDOTDIR:-$HOME}/.zshrc`_ and keep the rest of your
Zsh configuration intact. For more complicated setups, we recommend that you
back up your original configs and replace them with the provided Prezto
[_`runcoms`_][10].

4. Set Zsh as your default shell:
04. Set Zsh as your default shell:

```console
chsh -s /bin/zsh
```
```console
chsh -s /bin/zsh
```

5. Open a new Zsh terminal window or tab.
05. Open a new Zsh terminal window or tab.

### Troubleshooting

If you are not able to find certain commands after switching to *Prezto*,
modify the `PATH` variable in *~/.zprofile* then open a new Zsh terminal
window or tab.
If you are not able to find certain commands after switching to Prezto, modify
the `PATH` variable in _`${ZDOTDIR:-$HOME}/.zprofile`_ then open a new Zsh
terminal window or tab.

Updating
--------
## Updating

Run `zprezto-update` to automatically check if there is an update to zprezto.
If there are no file conflicts, zprezto and its submodules will be
automatically updated. If there are conflicts you will instructed to go into
the `$ZPREZTODIR` directory and resolve them yourself.
Run `zprezto-update` to automatically check if there is an update to Prezto.
If there are no file conflicts, Prezto and its submodules will be automatically
updated. If there are conflicts you will be instructed to go into the
`$ZPREZTODIR` directory and resolve them yourself.

To pull the latest changes and update submodules manually:

```console
cd $ZPREZTODIR
git pull
git submodule sync --recursive
git submodule update --init --recursive
```

Usage
-----
## Usage

Prezto has many features disabled by default. Read the source code and
accompanying README files to learn of what is available.
Prezto has many features disabled by default. Read the source code and the
accompanying README files to learn about what is available.

### Modules

1. Browse */modules* to see what is available.
2. Load the modules you need in *~/.zpreztorc* then open a new Zsh terminal
window or tab.
01. Browse [_`modules`_][9] to see what is available.
02. Load the modules you need in _`${ZDOTDIR:-$HOME}/.zpreztorc`_ and then open
a new Zsh terminal window or tab.

### Themes

1. For a list of themes, type `prompt -l`.
2. To preview a theme, type `prompt -p name`.
3. Load the theme you like in *~/.zpreztorc* then open a new Zsh terminal
window or tab.
01. For a list of themes, type `prompt -l`.
02. To preview a theme, type `prompt -p name`.
03. Load the theme you like in _`${ZDOTDIR:-$HOME}/.zpreztorc`_ and then
open a new Zsh terminal window or tab.

![sorin theme][2]
![sorin theme][2]
Note that the [_`git`_][11] module may be required for special symbols to
appear, such as those on the right of the above image. Add `'git'` to the
`pmodule` list (under `zstyle ':prezto:load' pmodule \` in your
_`${ZDOTDIR:-$HOME}/.zpreztorc`_) to enable this module.

### External Modules

1. By default modules will be loaded from */modules* and */contrib*.
2. Additional module directories can be added to the
`:prezto:load:pmodule-dirs` setting in *~/.zpreztorc*.
01. By default modules will be loaded from [_`/modules`_][9] and _`/contrib`_.
02. Additional module directories can be added to the
`:prezto:load:pmodule-dirs` setting in _`${ZDOTDIR:-$HOME}/.zpreztorc`_.

Note that module names need to be unique or they will cause an error when
loading.
Note that module names need to be unique or they will cause an error when
loading.

```console
zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
```
```sh
zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
```

Customization
-------------
## Customization

The project is managed via [Git][3]. It is highly recommended that you fork this
project; so, that you can commit your changes and push them to [GitHub][4] to
not lose them. If you do not know how to use Git, follow this [tutorial][5] and
bookmark this [reference][6].
The project is managed via [Git][3]. We highly recommend that you fork this
project so that you can commit your changes and push them to your fork on
[GitHub][4] to preserve them. If you do not know how to use Git, follow this
[tutorial][5] and bookmark this [reference][6].

Resources
---------
## Resources

The [Zsh Reference Card][7] and the [zsh-lovers][8] man page are indispensable.

License
-------
## License

This project is licensed under the MIT License.

[1]: http://www.zsh.org
[2]: http://i.imgur.com/nrGV6pg.png "sorin theme"
[3]: http://git-scm.com
[1]: https://www.zsh.org
[2]: https://i.imgur.com/nrGV6pg.png "sorin theme"
[3]: https://git-scm.com
[4]: https://github.com
[5]: http://gitimmersion.com
[6]: http://gitref.org
[5]: https://gitimmersion.com
[6]: https://git.github.io/git-reference/
[7]: http://www.bash2zsh.com/zsh_refcard/refcard.pdf
[8]: http://grml.org/zsh/zsh-lovers.html
[8]: https://grml.org/zsh/zsh-lovers.html
[9]: modules#readme
[10]: runcoms#readme
[11]: modules/git#readme
Loading