Andrew Janke
96c34cebae
Add a deprecation comment.
11 years ago
Andrew Janke
14b4ba83c3
Move urlencode/urldecode functions to core lib
11 years ago
Marc Cornellà
2d0bfcf818
Implement cross-platform open function open_command()
...
For now this supports:
- Mac OS X
- Linux (presumably works on all versions)
- Cygwin (Windows)
11 years ago
Fredrik Fornwall
dac2a6e27a
Replace /usr/bin/env with env
...
Some environments (such as Android) does not have /usr/bin.
12 years ago
Huang, Tao
217d8f0540
`fc -l 1` instead of `history` in zsh_stats #2501
...
$HIST_STAMP breaks zsh_stats. see #2501
12 years ago
CHH
5b2ca3875a
Improved statistics functions, effect:
...
1 1124 24.6006% c
2 985 21.5583% git
3 343 7.50711% rails
4 328 7.17881% cd
5 314 6.8724% rspec
6 257 5.62486% la
7 197 4.31167% rake
8 154 3.37054% s
9 109 2.38564% ..
10 95 2.07923% rvm
11 68 1.48829% guard
12 36 0.787919% bundle
13 29 0.634712% ssh
14 28 0.612826% pry
15 27 0.590939% open
16 26 0.569052% middleman
17 26 0.569052% gem
18 24 0.525279% rm
19 24 0.525279% heroku
20 23 0.503392% nvm
14 years ago
mapc
8f71efc09b
Add helper to easily define default values for variables and env variables.
14 years ago
mapc
dbef8b1a92
Add helper to get the value of an alias only
14 years ago
Indrajit Raychaudhuri
0b583638ae
Fix upgrade and uninstall functions to pick up $ZSH value
14 years ago
Sorin Ionescu
1db6575f14
Added extract plugin.
15 years ago
Renaud (Nel) Morvan
faac3ba8fc
Refactor window and tab title in tty
...
Term window title and tab title are now skinable
Tab title can be different from window title (when supported by term)
Default theme is optimized of usuability (no %u@%m: $~ in a 10 char tab)
Cleanup code duplication and add comment for supported terms
On osX it works great on iterm, and is decent once you tweak Terminal pref
Tested under GNU screen, iTerm and Apple Terminal, need to be tested on linux
TODO implement Konsole support (via dbus)
15 years ago
Lorenzo Manacorda
fcc7801435
add missing unrar flag
15 years ago
Robin Ramael
bcc235e142
Added an option to remove file afterwards.
15 years ago
SuprDewd
f0136f2aec
Support for more archive formats.
15 years ago
SuprDewd
ff0b25b745
Added a function to extract various archives.
...
Also an alias for the function.
15 years ago
Sven Lito
dc12853b0c
merging in changes from robby's repo
16 years ago
Brandon Philips
aab235f612
functions: fix title() to not match any $TERM
...
On my linux virtual terminals, where TERM="linux", I was getting
annoying output that was messing up my prompt.
It turns out the title function was always matching on the elif
statement for xterm/rxvt no matter what and the linux vt doesn't know
what to do with the title special control sequence and thus was printing
out garbage.
Through experimentation I figured out that the || inside of the [[ ]]
did not work:
export TERM=linux
$ if [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then echo $TERM; fi
linux
$ if [[ $TERM =~ "^xterm" ]] || [[ $TERM == "rxvt" ]]; then echo $TERM; fi
Signed-off-by: Brandon Philips <brandon@ifup.org>
openSUSE running zsh 4.3.10
16 years ago
Trevor Creech
b905630366
Match xterm-color, the default OS X terminal
16 years ago
Robby Russell
89bd2bf317
Moving some rails and osx-specific functions to their corresponding plugin files
16 years ago
Robby Russell
3cf9ab722e
Initial implementation of a new plugin system, so that people can managed which aliases/functions they want.
16 years ago
Dale Campbell
90627d3d1c
adding quotes to tab()
16 years ago
Robby Russell
2ecc228b23
Adding a function that will open up a ticket in Lighthouse based on the number and there being a URL in a hidden file.
17 years ago
Robby Russell
8debd097fb
Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options
17 years ago
James Cox
b6d778201b
more fixes, more or less have this as i want
17 years ago
Robby Russell
1ec8a8848e
Adding an upgrade_oh_my_zsh function to... well, upgrade Oh My Zsh
17 years ago
Robby Russell
e1f5c0c703
Adding an uninstaller tool
17 years ago
Robby Russell
6fd7da65a3
Adding zsh_stats function to show you which commands you run the most.
17 years ago
Geoff Garside
3ab0d639d0
Add tab, take and tm functions
17 years ago
Robby Russell
fe8f83cd78
Removing some unused git-dirty parsing code.
17 years ago
Robby Russell
5da20b9ddd
Importing initial files after reorganizing stuff.
17 years ago