Fredrik Fornwall
6d0bb9fc31
zsh: Simplify command_not_found_handler()
See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
7 years ago
Fredrik Fornwall
997acb7b4f
zsh: Exit with error in command_not_found_handler
Fixes #2655 .
7 years ago
Fredrik Fornwall
26132b3bce
bash and zsh: Bump revision after PS1 addition
7 years ago
Tom Yan
9fd6e5b5f4
make PS1 dynamic and shell-specific
PS1 is not supposed to be an environment variable (i.e. will not
be listed in `printenv` but only in `set`). Its value should also
be shell-specific.
With this commit we can stop exporting a static PS1 as env var on
the java side.
The prompt would now indicate whether the current user is root.
7 years ago
Fredrik Fornwall
0ac7043b58
zsh: Update from 5.5 to 5.5.1
7 years ago
Fredrik Fornwall
bdecd92560
zsh: Bump revision after enabling pcre
7 years ago
tomty89
79d117f0e7
zsh: enable pcre ( #2331 )
7 years ago
Fredrik Fornwall
9db19a6702
zsh: Update from 5.4.2 to 5.5
7 years ago
Fredrik Fornwall
915247fed4
zsh: Build with ac_cv_func_getpwuid=yes
The build exports ac_cv_func_getpwuid=no to disable getpwuid as it
doesn't make much sense on Android. But we need it on zsh to get
the username part of the prompt working. Fixes #424 .
7 years ago
Fredrik Fornwall
1ee018abc5
zsh: Fix /usr/local in $fpath ( #1730 )
7 years ago
Auxilus
35d070fc50
zsh: Update from 5.4.1 to 5.4.2 ( #1365 )
7 years ago
Fredrik Fornwall
388abdf83a
zsh: Update from 5.3.1 to 5.4.1
7 years ago
its-pointless
aa605e8901
put shebang in scripts
7 years ago
Fredrik Fornwall
b4b0cc1875
zsh: Fix bogus nice() warning ( #1151 )
8 years ago
Fredrik Fornwall
9d488d627e
zsh: Add the zpty module ( fixes #672 )
8 years ago
Fredrik Fornwall
af4dc416ed
s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/
8 years ago
Fredrik Fornwall
fee976030a
zsh: Build the system module ( fixes #659 )
8 years ago
Fredrik Fornwall
b4d91635b9
zsh: Update from 5.2.0 to 5.3.1
8 years ago
Fredrik Fornwall
8927f8fbc6
zsh: Return 0 from command_not_found_handler
"The function should return status zero if it successfully handled
the command, or non-zero status if it failed. In the latter case
the standard handling is applied: ‘command not found’ is printed
to standard error and the shell exits with status 127."
- http://zsh.sourceforge.net/Doc/Release/Command-Execution.html
Needed after changes in
https://github.com/termux/termux-packages/pull/566
where the command-not-found program no longer exists itself with 0.
8 years ago
Fredrik Fornwall
4d8dd31459
zsh: Enable the deltochar and mathfunc modules
The deltochar and mathfunc modules are small and used by grml-zsh.
Fixes #494 .
8 years ago
Fredrik Fornwall
9fc0086f05
zsh: Add the curses, socket and zprof modules
Also mark $PREFIX/etc/zshrc as a configuration file.
8 years ago
Fredrik Fornwall
51c63287f7
ndk_patches: <dlfcn.h> now #define:s RTLD_*
The Android NDK headers define the RTLD_* values within an enum,
which causes problems with #ifdef checks. Patch these to instead
use #define which is more traditional and what much code expects.
9 years ago
Fredrik Fornwall
0b5eaee9d6
zsh: Enable the zsh/regex module
9 years ago
Fredrik Fornwall
0396b8ee67
Remove .swp file committed by mistake ( #119 )
9 years ago
Fredrik Fornwall
77a8de768d
zsh: Enable the files module ( fixes #61 )
9 years ago
Fredrik Fornwall
fe66968bf8
zsh: Update from 5.1.1 to 5.2.0
9 years ago
Fredrik Fornwall
917dd81c3f
Update zsh source url
9 years ago
Fredrik Fornwall
2ba1fa72aa
zsh: Work on binary loadable modules
9 years ago
Fredrik Fornwall
e46c5cbca3
Make zsh folder permissions to please compaudit
Closes #31 .
9 years ago
Fredrik Fornwall
84d1e6dcf2
zsh: Bump revision
9 years ago
Fredrik Fornwall
eb176fb635
zsh: Update to 5.1.1 from 5.1
9 years ago
Fredrik Fornwall
4eb87e93aa
zsh: Avoid extra binaries
9 years ago
Fredrik Fornwall
bfd612760d
zsh: Update from 5.0.8 to 5.1
9 years ago
Fredrik Fornwall
f0d4e3805a
Patch a WIFCONTINUED definition to <sys/wait.h>
This fixes job control in bash and zsh
10 years ago
Fredrik Fornwall
3cc4ef712e
Enable command-not-found for bash and zsh interactive shells
10 years ago
Fredrik Fornwall
638b6413b1
zsh: Disable TIOCSETD ioctl during initialization
10 years ago
Fredrik Fornwall
49ca09e5e5
Fix wait3() function and bump build revisions
10 years ago
Fredrik Fornwall
e7fcdfa2bb
Remove broken WIFCONTINUED macro
Bump build revision on affected packages.
10 years ago
Fredrik Fornwall
8c3b65b380
zsh: use supplied sh (dash) insted of system/bin/sh
10 years ago
Fredrik Fornwall
d107ca288b
Make bash and zsh depend on termux-tools for chsh
10 years ago
Fredrik Fornwall
aa7b535f74
Update zsh from 5.0.7 to 5.0.8
10 years ago
Fredrik Fornwall
59f0d218a6
Initial push
10 years ago