Where are q-dir settings saved2/12/2023 ![]() flac 48 5 240 # Set bg color to color 240 The format for 256 color escape codes is 38 5 colorN for foreground colors and 48 5 colorN for background colors. They won't work on the Linux text console, for example. You can use xterm's 256 color escape codes in your dircolors file, but be aware that they'll only work for xterm compatible terminals. ![]() I just bring this up to point out that setting dircolors for truly everybody depends on the shell they use.Īs for where dircolors gets its settings from, when you don't specify a file it just uses some builtin defaults. Your distribution might have zsh do that already. ![]() # $(dircolors) effectively sets the LS_COLORS environment variable.įor zsh, you'd either put it in /etc/zshrc or arrange for zsh to read /etc/profile on startup. To have this environment variable take effect system-wide, put it in your shell's startup file.įor bash, you'd put this in /etc/profile: # `dircolors` prints out `LS_COLORS='.' export LS_COLORS`, so eval'ing dircolors is merely a convenient way to generate this environment variable. Ls takes it color settings from the environment variable LS_COLORS.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |