aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* readline: Don't attempt to optimize strange functionstaging/lineage-15.1Ethan Chen2018-02-041-1/+1
| | | | | | * clang explodes trying to optimize this function, so don't let it. Change-Id: I661c0c761366e6a080cd33f92db5d7dad5907dfa
* Revert "bash: Disable clang"Ethan Chen2018-02-042-5/+0
| | | | | | This reverts commit 8881ac638f8495940b4ac39ce6a8d75f85f5240b. Change-Id: I350c976060dccda3cd187a32ffc0b544c7233744
* bash: Disable clangRashed Abdel-Tawab2017-12-052-0/+5
| | | | | | | | lib/readline/histexpand.c causes clang 5.0 to segfault and I'm tired of dealing with this crap, so just fallback to GCC until someone figures it out. Change-Id: I157aec19543e6b45d481ca00165bf9cc3883862b
* bash: Fix compilation error on Olineage-15.0LuK13372017-09-011-1/+1
| | | | | | * error: redeclaration of 'strchr' must have the 'overloadable' attribute Change-Id: Ic6b81628ce0d8424c78bf6c6d52f041a31af5df7
* Revert "bash: prefer toybox's ls"Arman Avetisyan2016-11-091-1/+1
| | | | | | This reverts commit 52936c4a35e65908e4731f504ef9c3e2f38acfab. Change-Id: Ie74b76a02e9de5d8049d530bf7d824ecae16a769
* ninja-build: bash: don't use $(shell)cm-14.0luca0204002016-08-251-3/+2
| | | | Change-Id: I1018f0ae02d63a4a5c4699c0f268adeb61420ea8
* bash: prefer toybox's lsHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001stable/cm-13.0-ZNH5Ystable/cm-13.0-ZNH2KBstable/cm-13.0-ZNH2Kstable/cm-13.0-ZNH0Ecm-13.0Dan Pasanen2015-12-211-1/+1
| | | | Change-Id: I6563b2c6ecf0e5988ab98346d7e0ce49937794cf
* bashrc: correct PS1Dan Pasanen2015-11-241-2/+2
| | | | Change-Id: I46623b6912444d74981087e00d1210f95613f655
* bash: export environment variables in a way that bash understandsDan Pasanen2015-11-241-6/+5
| | | | | | * also set xterm as TERM Change-Id: I39f06a5eab7a1e0920593bf0a52df7e9d780da99
* bash: Update default environmentSteve Kondik2015-11-141-4/+8
| | | | | | | * Match mksh * Use colored ls Change-Id: I2ed8617d348344f2cfae6e896981ce4759fffaef
* bash: Remove Busybox aliasesSteve Kondik2015-11-141-7/+0
| | | | Change-Id: I07a624bc23c3583fc4d5a61c3373451a985cd6d0
* Remove regex dependencySteve Kondik2015-11-141-2/+2
| | | | Change-Id: I7b81121bda4f531a052733e790b6a5252e23a9ee
* Bash-4.3 patch 42Chet Ramey2015-10-083-1/+5
| | | | Change-Id: I6f01effd47b78771c7747f4314bda10cbd3a5c99
* Bash-4.3 patch 41Chet Ramey2015-10-083-1/+16
| | | | Change-Id: Idb9857dac265c724460d61857c0643815d96eb9d
* Bash-4.3 patch 40Chet Ramey2015-10-083-2/+2
| | | | Change-Id: Ic31897802b23dbb727099d9e9ebc3ee2f9153251
* Bash-4.3 patch 39Chet Ramey2015-10-082-1/+8
| | | | Change-Id: If5eb957c4fda16d9b8c29b0b1f511f7a0a73c9ec
* Bash-4.3 patch 38Chet Ramey2015-10-083-3/+13
| | | | Change-Id: I7860fb20707e81f0ad9f0d32320ace37750f9500
* Bash-4.3 patch 37Chet Ramey2015-10-082-1/+3
| | | | Change-Id: I2cb7104766891af72f26bff9567def7c170ea085
* Bash-4.3 patch 36Chet Ramey2015-10-082-5/+7
| | | | Change-Id: I1aac05a3a8379b443a960a248db390f05ea68f8a
* Bash-4.3 patch 35Chet Ramey2015-10-082-3/+5
| | | | Change-Id: I76fde1c3875c716c5e19fd17e35c2f0dd0e44797
* Bash-4.3 patch 34Chet Ramey2015-10-084-4/+10
| | | | Change-Id: I4dbb5273a0372ab63d342a11dc9c9d19c002a9ac
* Bash-4.3 patch 33stable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Ccm-12.1cm-12.0Chet Ramey2015-02-197-11/+78
| | | | Change-Id: Id50c454f86c5df0e6cab6226ab7e5cc1a9b37883
* Bash-4.3 patch 32Chet Ramey2015-02-192-2/+4
| | | | Change-Id: I0d7aeffa95fd5d5f109b561ed91b2625d801d1f0
* Bash-4.3 patch 31Chet Ramey2015-02-193-3/+32
| | | | Change-Id: I454d87ada1ca933e5d734c40d8dcce3e6202ecb7
* Fix arm64 buildstaging/cm-12.1stable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1IRicardo Cerqueira2014-12-251-0/+2
| | | | Change-Id: I26ad2191a48aad71ae6872e6ca5df71ce46f6891
* Updates for LRicardo Cerqueira2014-11-082-1/+5
|
* bashrc: call resize command to init term dimcm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56staging/cm-12.0-cafstable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0cm-11.0Tanguy Pruvot2014-10-061-0/+1
| | | | | | | | | With this simple command, nano and vim will use the full size of the terminal in adb shell Without, the default terminfo is used (80x24) Change-Id: Ic536966b5ab18533064fc2c851497911595bc0da
* bashrc: export the environment variablesDan Pasanen2014-10-061-2/+2
| | | | Change-Id: I34f35370c1d745f64a3f09abef06a58895ac8f7d
* Bash-4.3 patch 30Chet Ramey2014-10-065-172/+210
|
* Bash-4.3 patch 29Chet Ramey2014-10-043-2/+3
|
* bashrc: use xterm as default terminalDan Pasanen2014-10-021-1/+1
| | | | | | * this fixes apps like nano not working from a bash shell Change-Id: I92e22f845172e63abb5abb3567c1447041e977d5
* bash: fix warningDan Pasanen2014-10-021-0/+2
| | | | | | fixes: void endpwent()(3) is not implemented on Android Change-Id: Ib7c39bcdedf7e0581b7e84d8eb7747f1fe4e620f
* bash: fix "getcwd: cannot access parent directories: Math result..."Patrick Schaaf2014-10-021-6/+8
| | | | | | | | | | | | | | | In get_working_directory(), the getcwd call in the __ANDROID__ workaround case was obviously wrong, having sizeof(char *) as a length argument instead of the length of the malloced string itself. Also, no check for malloc failure was there. With this fix, tested on maguro, using bash with the usual prompt containing pwd references, as well as the pwd bash builtin itself, no longer spew these annoying messages mentioned in the title. Also made a small change to sh_invalidnum() to fix compile warnings. Change-Id: I9546e07731a251f80e410935619ddcf0873694af
* bashrc: set alias ls="busybox ls --color=auto"Firerat2014-10-021-1/+1
| | | | | | | | | | | | | | without "auto", scripting fails e.g. for i in `ls /`;do if [ -e /$i ]; then echo pass else echo fail fi done Change-Id: Id2563143ed2c359933c5b861cc2299f387e34d9c
* Add sysro and sysrw aliasesScott Anderson2014-10-021-0/+2
| | | | Change-Id: If7507e41c5f67e19b5f2879a3b3896678e1fadf2
* Use a loop for busybox aliasesScott Anderson2014-10-021-14/+4
| | | | Change-Id: I973a89ca9ddd4d5b20a5be695319bb233744f7a2
* switched extern of fdprintf from void to int (change in bionic)cvpcs2014-10-021-1/+1
| | | | | Conflicts: externs.h
* fixed some problems with bashcvpcs2014-10-023-51/+30
|
* added bashrc and bash_logout support system-widecvpcs2014-10-023-2/+96
| | | | | Conflicts: Android.mk
* removed "help" internal, as it seems pretty uselesscvpcs2014-10-021-1/+1
|
* cleaned up the directorycvpcs2014-10-023-194/+0
|
* set some paths and removed the debuggercvpcs2014-10-022-4/+4
| | | | | Conflicts: config-top.h
* Fix building with 4.3's bionicRicardo Cerqueira2014-10-0296-96/+96
| | | | | | | | Change-Id: Icbbcf959deb199e7e584642027ea0383f6450fdc Conflicts: autom4te.cache/output.0 examples/loadables/getconf.c
* Set up build for androidDan Pasanen2014-10-0259-1/+18247
|
* Bash-4.3 patch 28Chet Ramey2014-10-023-198/+239
|
* Bash-4.3 patch 27Chet Ramey2014-09-272-21/+61
|
* Bash-4.3 patch 26Chet Ramey2014-09-263-2/+5
|
* Bash-4.3 patch 25Chet Ramey2014-09-255-13/+22
|
* Bash-4.3 patch 24Chet Ramey2014-08-182-2/+8
|
* Bash-4.3 patch 23Chet Ramey2014-08-183-5/+11
|