1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 08:08:00 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
mattmc3
085ab11646 osx: Add trash function 2024-04-05 01:18:05 -05:00
mattmc3
8be95c9c7e Fix osx module manp function 2023-01-29 23:04:58 -08:00
Indrajit Raychaudhuri
1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00
Indrajit Raychaudhuri
d80e393f78 general: Reformat documentation with better formatting and wording
General purpose reformating and rewording in (a few places). This should
also make markdown linting happier.

Prefer back-ticks wherever useful and use `console` for code blocks to
be executed on terminal.

Also, update references links wherever possible (including update from
'http://' to 'https://').
2021-05-05 12:21:04 -05:00
Herobs
76b8c810aa osx module mand fix
> The {query} has to be percent-escaped in macOS 11.

Just replace `:` to `%3A` work fine.

But add function like this one I find on stackoverflow to encode the entire query string would be more robust.
```bash
urldecode() {
    # urldecode <string>

    local url_encoded="${1//+/ }"
    printf '%b' "${url_encoded//%/\\x}"
}
```
2021-04-26 15:37:01 -05:00
Charith Amarasinghe
d5bef142d4
Fix missing dependency on helper module for helpers added in #1793 (#1811)
PR #1793 introduced helper functions for OS detection in some modules.
These helpers require a module dependency on the 'helper' module.
2020-03-29 12:49:35 -07:00
Kaspar Vollenweider
f4ca9ebfc9 feat(helper): add os-type helper functions
Add the following functions:

- is-darwin
- is-linux
- is-bsd
- is-cygwin

And apply them everywhere I found code doing that what these functions do.
2020-03-19 11:49:11 -07:00
Ashish Gandhi
b6b43eb331 Rename "Mac OS X" to "macOS" in comments
This only changes references in text for human consumption. It leaves
out renaming paths because that can cause breaking changes.

Related issue https://github.com/sorin-ionescu/prezto/issues/1449.
2018-04-16 15:53:48 -07:00
Indrajit Raychaudhuri
a60499f933 [general] Miscellaneous cleanup and formatting 2017-08-04 13:45:56 -05:00
Indrajit Raychaudhuri
d6276e8025 [osx] Support custom keyword used by mand to open man pages in Dash.app
`zstyle` based customization is now avaialble in *zpreztorc*.
2017-07-23 13:19:04 -05:00
Kaleb Elwert
7d5beeab51 Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
Joel Kuzmarski
9a70a1675c Remove manb from completion filename 2017-04-13 01:51:15 -07:00
nstCactus
ee249e50ee FIXED: syntax error in osx module tab function 2017-04-11 10:23:21 -07:00
Griffin Yourick
e413ef5a97 Add support for iTerm2 v3 in tab function 2017-04-10 11:30:27 -07:00
Sorin Ionescu
a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu
c74cf4b5e0 Prefix rarely used osx functions 2014-02-16 18:00:47 -05:00
Sorin Ionescu
72782528aa Add functions to display and delete osx download history 2014-02-02 20:30:27 -05:00
Sorin Ionescu
02717cb4c1 Update osx alias descriptions 2014-02-02 20:08:55 -05:00
Sorin Ionescu
bccfca8c10 Make osx functions autoloadable 2014-02-02 20:08:21 -05:00
Sorin Ionescu
b8bb51d7b5 Cast AppleScript paths to text 2014-02-02 14:44:22 -05:00
Sorin Ionescu
00e12b7a98 Add capability to browse man pages in Dash.app 2014-02-01 23:39:11 -05:00
Sorin Ionescu
232313e2a0 Remove Bwana.app support
Bwana.app has been stale for years. It no longer works properly.
2014-02-01 23:39:11 -05:00
Sorin Ionescu
e48dac79f3 Add double slash after Bwana.app's man protocol
Safari 6's unified location and search bar can no longer tell the
difference between a protocol and a colon search.
2014-02-01 23:39:11 -05:00
Sorin Ionescu
e2c5f2fb2c [Fix #396] Remove the osx trash function
The trash program found at http://hasseg.org/trash is a superior
implementation.
2013-02-28 17:35:54 -05:00
Sorin Ionescu
fb9a20591f [Fix #197] Rebrand as Prezto
Conflicts:
	README.md
	runcoms/zshenv
2012-09-03 16:51:27 -04:00
Sorin Ionescu
9a52ecb21b Increase heading readability 2012-08-04 14:48:32 -04:00
Sorin Ionescu
060d9064f8 [Fix #202] Load modules all or nothing 2012-08-04 14:32:59 -04:00
Sorin Ionescu
54e8b37c77 [Fix #196] Remove compdef calls 2012-06-13 18:04:33 -04:00
Sorin Ionescu
b02f9d7dbe Correct functions list indentation in osx README 2012-06-12 15:15:52 -04:00
Sorin Ionescu
160e1a3926 Check operating system in osx 2012-06-02 17:17:41 -04:00
Sorin Ionescu
b2b90c22f8 Improve diction in documentation 2012-06-02 17:17:12 -04:00
Sorin Ionescu
075f516763 Clean up READMEs 2012-05-21 20:34:07 -04:00
Sorin Ionescu
a7340886b3 [#23] Rename plugins to modules 2012-04-05 13:39:40 -04:00