Commit Graph

855 Commits (453ba9f8ad018f5289ea64144c97a0233021ae67)

Author SHA1 Message Date
TorchedSammy ef4975f984 feat: fallback to default config on error loading user conf 2021-04-04 20:31:32 -04:00
TorchedSammy 3cb3b34023 fix: add back sh, cleanup a bit and use new functions 2021-04-04 20:30:47 -04:00
TorchedSammy 22270dc537 fix: trim input and remove comment 2021-04-04 20:30:03 -04:00
TorchedSammy cfdab00684 fix: make shell continue prompt "sh> " 2021-04-04 18:46:37 -04:00
TorchedSammy cc183620c5 fix: move input checks to main.go, some cleanup 2021-04-04 18:42:56 -04:00
TorchedSammy a30489aa52 chore: merge from master 2021-04-04 13:15:55 -04:00
TorchedSammy 453d04983a chore: add readline as prerequisite 2021-04-04 13:14:30 -04:00
TorchedSammy f4b45b370e feat: multiline input with \ (hilbish only has lua input currently) 2021-04-04 13:04:57 -04:00
Jack 6c050194ed
feat: Proxy global string variables to ENV (#16) 2021-04-03 16:08:04 -04:00
Jack ad1be6b5f5
feat: Add command.exit signal to bait (#15) 2021-04-03 14:33:38 -04:00
TorchedSammy 71504c9990 chore: add a "motd" 2021-04-03 13:14:25 -04:00
TorchedSammy 4f4237a3e9 chore: split up go source files 2021-04-03 13:13:45 -04:00
TorchedSammy a0bc8e026a feat: save history to file 2021-04-01 22:12:03 -04:00
TorchedSammy 23f6986123 chore: add semantic pull requests config 2021-03-31 14:08:34 -04:00
TorchedSammy 2d93f2ce4a chore: update todo 2021-03-31 13:57:20 -04:00
TorchedSammy b1f2a36639 fix: trim spaces in cd func 2021-03-31 13:46:49 -04:00
TorchedSammy 204d50d73c feat(preload/cd): throw command hooks in cd command and add support for folders with spaces 2021-03-31 13:46:22 -04:00
TorchedSammy 0987899144 fix: throw command.success hook after successfullua input 2021-03-31 12:53:39 -04:00
TorchedSammy a9018a2740 fix: return correct error code and fix error level 2021-03-31 07:32:47 -04:00
TorchedSammy 5500baf5b6 feat: throw cd hook when chanding directory 2021-03-31 01:02:14 -04:00
TorchedSammy 60a0204958 chore: add todo node 2021-03-31 00:02:39 -04:00
TorchedSammy 8d92fc3b74 feat: cd with no path changes to homedir 2021-03-30 23:59:59 -04:00
TorchedSammy 7326cb77c6 fix: display error to user if dir does not exist 2021-03-30 23:58:12 -04:00
TorchedSammy 0d5c826f54 fix: change error level to 2 2021-03-30 23:57:13 -04:00
TorchedSammy 5dd7ce382a fix: throw lua error if fs.cd fails 2021-03-30 23:56:37 -04:00
TorchedSammy 1d22e4cdc1 fix: move LuaInit function to lua.go 2021-03-30 22:37:08 -04:00
TorchedSammy 1234c780f8 chore: new entry to todo 2021-03-30 22:36:56 -04:00
TorchedSammy 09a4cb4787 chore: update version 2021-03-30 19:50:35 -04:00
TorchedSammy c5a58b1d01 chore: update todo 2021-03-30 19:50:02 -04:00
TorchedSammy cb6f17c8fa details: make triangle in prompt change color based on command result 2021-03-30 19:48:37 -04:00
TorchedSammy f20be5153f feat: add hooks/events 2021-03-30 19:47:02 -04:00
TorchedSammy 352c5f73a8 chore: merge from master 2021-03-28 19:31:29 -04:00
TorchedSammy e561be0c9f chore: comments everywhere 2021-03-28 18:58:58 -04:00
TorchedSammy 479968f79e fix: dont replace ^^ in commands before, or in quotes 2021-03-28 18:15:51 -04:00
TorchedSammy b735421af8 feat: add ^^ for last command 2021-03-28 17:51:15 -04:00
TorchedSammy d945d510f7 feat: printf-like formatting for prompt 2021-03-28 17:11:57 -04:00
TorchedSammy 8b7c7e707a chore: fix todo 2021-03-26 11:41:07 -04:00
TorchedSammy 7486d58465 fix: merge conflicts 2021-03-26 01:14:25 -04:00
TorchedSammy aea035fe41 wip(feat): bait package for hooks 2021-03-26 01:12:55 -04:00
TorchedSammy c5fa238156 wip: get prompt from format function 2021-03-26 01:06:14 -04:00
gokul swaminathan 795a7d7fca
fix: #7 and add `-i` flag to sed cmd (#11)
* Fixes #7 and adds `-i` to sed cmd

* Removed build dep

* Update README.md

* improve sed cmd
2021-03-25 22:07:58 -04:00
devins2518 e4218a135a
fix: only create rc file if it doesn't exist (#10) 2021-03-25 12:07:51 -04:00
devins2518 eeafd1e5cf
fix: add hilbish to /etc/shells (#9) 2021-03-25 12:04:42 -04:00
TorchedSammy 4a08ab7837 chore: update todo 2021-03-24 23:50:33 -04:00
TorchedSammy 1ee4c10a89 change: use c style formatting verbs 2021-03-24 23:32:13 -04:00
TorchedSammy da9cfd5e04 chore: change default config 2021-03-24 20:59:36 -04:00
TorchedSammy 913d6486ac fix: merge conflicts; dont set /bin/zsh explicitly unless used with flag (for neofetch to use hilbish :)) 2021-03-24 20:58:31 -04:00
TorchedSammy deb1bc8a5e chore: bump version 2021-03-24 20:22:25 -04:00
TorchedSammy 1c1ec87612 feat: add to history for lua 2021-03-24 20:21:55 -04:00
TorchedSammy 972c6e44b3 feat: go to next line if sh input is incomplete 2021-03-24 19:18:30 -04:00