I have Ubuntu installed through WSL2 and I also am using zsh as my shell with oh my zsh installed. I am trying to change the default ls colours by adding export LSCOLORS=ExFxBxDxBxegedabagacad in my .zshrc, but it doesn't change any of the default ls colours. I made sure to source the .zshrc file and restarted my terminal as well, but it didn't do anything. In addition, the export LSCOLORS line is below this line: source $ZSH/oh-my-zsh.sh. Is it possible that oh my zsh is overriding the ls colors that I set?
Changing LSCOLORS in WSL2 Ubuntu with oh my zsh doesn't do anything
1.8k views Asked by Zemelware At
1
There are 1 answers
Related Questions in TERMINAL
- How to fix npm errors without writing sudo in macOS?
- using whisper in the terminal gives an error
- Ubuntu terminal unable to take in input and read directories
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Use `ffprobe` to display subtitle content like the `cat` command
- I am using the bash terminal in VS Code, I am new to coding, and the terminal displays very differently, how do I get them to match?
- Reading & Writing to the same file from terminal
- In VS Code, when sending Python lines to terminal, why do I have to re-send lines that set a variable to an edited value before the lines that use it?
- I tried installing Bagisto on a Pi, and I decided to uninstall it. Now, my PHPmyadmin doesn't work
- Create react app not working, file already exists with EEXIST error
- c++ python ctypes dependency issues
- Auto-activation of the conda environment in the terminal (ps, cmd, bash) in VS Code on Windows 11 does not work. How to solve this problem?
- Command Prompt/PowerShell Closing Automatically with Error -532462766/-1 in Visual Studio Code
- Output from sys.exit sometimes appears on terminal before output from print
- minikube not starting the service
Related Questions in WINDOWS-SUBSYSTEM-FOR-LINUX
- WSL able to touch file but mkdir: Permission denied
- Microsoft VS Code not showing MFA code when logging into WSL
- How do I install wsl on a PC with a clean install of Windows 11 using ubuntu.tar, an image file created and saved on a previous PC?
- Why does the following program printf "thread 1 exists" twice in WSL2?
- Text selection replacement in ZSH
- tail -f does not follows files on WSL
- Python doesn't detect the library
- Error "libicui18n.so.73: cannot open shared object file" after installing Node.js via Homebrew on Windows Subsystem for Linux (WSL)
- Docker Desktop - Unexpected WSL error And WslRegisterDistribution failed with error: 0x80041002 Error: 0x80041002 (null)
- Windows WSL yarn command appends folder name at end of import
- I am having an issue in using my C++ and python oot blocks with my gnuradio C++ flowgraph
- Run a Linux application on WSL from a Windows python script
- Why does gmsh not work in WSL2 after installing from source?
- Is there a way to install the vscode plugin offline in the local WSL via vscode's ssh?
- There Windows 10 WSL 2 network doesn't work
Related Questions in OH-MY-ZSH
- Getting a double prompt with zsh and oh-my-zsh. Additionally source ~/.zshrc takes over 20 seconds to complete
- Failed to add custom plugin to oh-my-zsh terminal
- How to activate python environment in ZSH using VSCode terminal
- How to disable "..." expansion in zsh
- zsh keybind giving error it isn't a widget
- asdf current shows node, but zsh can't find node command
- How can I add conditions to the display of certain elements of a ZSH prompt?
- How can I ask for user input (file path to a ZIP archive) in my ZSH script with full auto-completion via TAB?
- Add prefix to zsh command prompt for any theme
- Just autocomplete and git alias autocomplete aren't working with zsh and homebrew
- Failing to evaluate correct path to zshrc file on new terminal window/tab
- No some prompt styles in configuration wizard Powerlevel10k
- How to setup zsh/ohmyzsh in nixos?
- zsh: command not found: find
- Conda environment not shown in terminal
Related Questions in WINDOWS-TERMINAL
- Is there a way to uniquely identify the current Windows Terminal viewport within a WSL2 Ubuntu bash environment?
- Powershell: Get the background color of the Windows Terminal
- Receiving unknown flag from C# invoke powershell
- C# output differs between PowerShell and Windows Terminal PS
- Windows terminals interleave escape sequences
- Run Batch-file Elevated through Windows Terminal
- The result of opening multiple panes in Windows Terminal via ps1 script is unpredictable
- Is there a way to print out colorized/highlighted text in cmd using python?
- Git Bash Windows Terminal Theme Causing Text To Wrap Back And Write Over Prompt
- Terminal characters leaking after resize
- VSC and terminal ubuntu
- Progress bar in Vs code terminal
- How to make windows terminal not gain focus when starting microservices
- Windows terminal displays "PS>" instead of the path
- How do I implement cmd's auto-tab-completion to python?
Related Questions in LS-COLORS
- export LS_COLORS : apply the rule for every file beginning by README*
- Using GNU coreutils on iterm2 disables LSCOLORS
- Use sed to reformat line, duplicate one section onto the begining of other sections on seperate lines
- Changing LSCOLORS in WSL2 Ubuntu with oh my zsh doesn't do anything
- LS_COLORS - .bashrc extension will not change colors
- Change colors on executable files in the terminal (or iTerm2)
- Colorised highlighting in ls command
- White color in LS_COLORS with MSYS
- Bash export: not a valid identifier
- How to interactively set syntax highlighting in VI editor
- tcsh 'ls_colors' not working
- Wildcards in dircolors definitions?
- Where are default LS_COLORS set in RHEL 5.x?
- How do you determine what bash ls colours mean?
- What UNIX commands support coloured output?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Put the
LS_COLORSexport in your~.zshrc filenotoh-my-zsh.sh. So it would look something like this: