mirror of https://github.com/Hilbis/Hilbish
Compare commits
2 Commits
21b093559a
...
b221921ab7
Author | SHA1 | Date |
---|---|---|
TorchedSammy | b221921ab7 | |
TorchedSammy | 0b5bbcc73c |
|
@ -38,6 +38,8 @@ the config path.
|
|||
- `hilbish.xdg` no longer exists, use `hilbish.userDir` instead,
|
||||
as it functions the same and is OS agnostic
|
||||
- `hilbish.flag` has been removed
|
||||
- `~/.hprofile.lua` has been removed, instead check in your config if `hilbish.login`
|
||||
is true
|
||||
|
||||
## [0.7.1] - 2021-11-22
|
||||
### Fixed
|
||||
|
|
1
exec.go
1
exec.go
|
@ -19,7 +19,6 @@ func runInput(input string) {
|
|||
running = true
|
||||
cmdString := aliases.Resolve(input)
|
||||
|
||||
// If alias was found, use command alias
|
||||
hooks.Em.Emit("command.preexec", input, cmdString)
|
||||
|
||||
// First try to load input, essentially compiling to bytecode
|
||||
|
|
15
lua.go
15
lua.go
|
@ -72,18 +72,3 @@ func runConfig(confpath string) {
|
|||
l.DoString(minimalconf)
|
||||
}
|
||||
}
|
||||
|
||||
func runLogin() {
|
||||
if _, err := os.Stat(curuser.HomeDir + "/.hprofile.lua"); os.IsNotExist(err) {
|
||||
return
|
||||
}
|
||||
if !login {
|
||||
return
|
||||
}
|
||||
err := l.DoFile(curuser.HomeDir + "/.hprofile.lua")
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, err,
|
||||
"\nAn error has occured while loading your login config!n")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue