mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 11:54:53 +03:00
d412fbdcf3
This is implemented in Line::Editor meaning not only the Shell will respect it, but also js, Debugger etc. Possible values are "ignorespace", "ignoredups" and "ignoreboth", as documented in Shell-vars(7), for now. The default value for the anon user (set in .shellrc) is "ignoreboth".
8 lines
176 B
Bash
8 lines
176 B
Bash
#!/bin/sh
|
|
|
|
# IFS controls what $(...) (inline evaluate) would split its captured
|
|
# string with. the default is \x0a (i.e. newline).
|
|
IFS="\x0a"
|
|
|
|
export HISTCONTROL="ignoreboth"
|