GithubHelp home page GithubHelp logo

Comments (7)

popstas avatar popstas commented on May 14, 2024

Please, check git of oh-my-zsh:

cd /home/sturm/.antigen/bundles/robbyrussell/oh-my-zsh
git status
git log

from ansible-role-zsh.

popstas avatar popstas commented on May 14, 2024

Just installed at WSL2 on Windows 19042.630 with curl https://raw.githubusercontent.com/viasite-ansible/ansible-role-zsh/master/install.sh | bash, all right...

from ansible-role-zsh.

SturmB avatar SturmB commented on May 14, 2024

Please, check git of oh-my-zsh:

Status is clean, log also doesn't show anything wrong:

commit 9b119866dd0e2d5054abd992f4dfbf346ac81b0d (HEAD -> master, origin/master, origin/HEAD)
Author: ratijas <[email protected]>
Date:   Thu Nov 12 21:32:17 2020 +0300

    refactor(colored-man-pages): move nroff wrapper and refactor logic in `colored` function (#9437)

commit 51772732f54f01522ad5720e8ed0ba16ca3147ae
Author: Alisson B. Santos <[email protected]>
Date:   Thu Nov 12 16:17:28 2020 +0100

    feat(git): support trunk branches in `git_main_branch` (#9417)

commit 874d83f7b86afbc395915e796cff4e4fe949a204
Author: Subhaditya Nath <[email protected]>
Date:   Thu Nov 12 01:55:32 2020 +0530

    feat(sudo): support aliases to $EDITOR (#9431)

    Co-authored-by: Marc Cornellà <[email protected]>

commit 1beac5958ede29855ef2ac4313ada83ed37f5ea8
Author: Rob Vadai <[email protected]>
Date:   Wed Nov 11 15:14:57 2020 +0000

    docs(aws): add config examples (#9422)

Checking out some of the files in the repo, such as lib/cli.zsh and lib/nvm.zsh does, indeed, indicate that they have CRLF line endings.

So what's the best way to change them to normal Linux LF line endings, assuming that's the only problem with these files?

from ansible-role-zsh.

SturmB avatar SturmB commented on May 14, 2024

I was able to fix the problem (for now) by just removing antigen with rm -rf ~/.antigen and then re-running my ansible playbook that contains this role.

I'm still getting the odd message Seems zsh-users/zsh-autosuggestions is already installed! and it also still doesn't explain how things got messed up in the first place, but at least zsh is now working as expected.

from ansible-role-zsh.

popstas avatar popstas commented on May 14, 2024

Check core.autocrlf config:

git config --global core.autocrlf

And change it to input for avoid future line endings convert:

git config --global core.autocrlf input

Autosuggestions: check ~/.zshrc, is it contains one zsh-users/zsh-autosuggestions include?

from ansible-role-zsh.

SturmB avatar SturmB commented on May 14, 2024

The global core.autocrlf is not set, so I guess it uses the default (auto?)

However, for a short time, a different—but related—repo had autocrlf = true set in its .gitconfig file. I removed that line before removing and reinstalling antigen as I mentioned in my last comment. I can only surmise that played some part in this weirdness.

from ansible-role-zsh.

popstas avatar popstas commented on May 14, 2024

auto is OS-dependent, so better set it to input, it more explicit.

from ansible-role-zsh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.