Giter Club home page Giter Club logo

Comments (7)

nickjj avatar nickjj commented on May 28, 2024

Hi,

The set-theme script gets made available from this symlink:

ln -fs "${clone_path}/.local/bin/set-theme" "${HOME}/.local/bin/set-theme"

What happens if you run these 2 commands:

ls -la ~
ls -laR ~/.config

Can you paste the output here.

from dotfiles.

whynot2018 avatar whynot2018 commented on May 28, 2024

hmm
actually, I saw under ${HOME}/.local/bin/ the folder 2 red files I think symlink was corrupted so I copied those 2 files into that folder. But that didn't do better.
And terminal command line input cruiser was $ also now %

whynot% ls -la ~
ls -laR ~/.config
..........
.........

/home/whynot/.config/zsh:
total 8
drwxr-xr-x  2 whynot whynot 4096 Dec 13 09:08 .
drwx------ 53 whynot whynot 4096 Dec 13 09:33 ..
lrwxrwxrwx  1 whynot whynot   22 Dec 13 09:08 .aliases -> n/.config/zsh/.aliases
lrwxrwxrwx  1 whynot whynot   23 Dec 13 09:08 .zprofile -> n/.config/zsh/.zprofile
lrwxrwxrwx  1 whynot whynot   20 Dec 13 09:08 .zshrc -> n/.config/zsh/.zshrc
whynot% 

from dotfiles.

nickjj avatar nickjj commented on May 28, 2024

Are all of these symlinks pointing to places that exist?

lrwxrwxrwx  1 whynot whynot   22 Dec 13 09:08 .aliases -> n/.config/zsh/.aliases
lrwxrwxrwx  1 whynot whynot   23 Dec 13 09:08 .zprofile -> n/.config/zsh/.zprofile
lrwxrwxrwx  1 whynot whynot   20 Dec 13 09:08 .zshrc -> n/.config/zsh/.zshrc

It looks like they wouldn't be based on mine looking like this:

lrwxrwxrwx  1 nick nick    51 Jul 14 12:59 .aliases -> /home/nick/src/github/dotfiles/.config/zsh/.aliases
lrwxrwxrwx  1 nick nick    52 Jul 14 12:43 .zprofile -> /home/nick/src/github/dotfiles/.config/zsh/.zprofile
lrwxrwxrwx  1 nick nick    49 Jul 14 12:43 .zshrc -> /home/nick/src/github/dotfiles/.config/zsh/.zshrc

They lead to where I have my dotfiles cloned to. If you ran the installation script in this repo that would likely be ~/dotfiles unless you changed it, but it's pointing to n/. How did that happen?

from dotfiles.

whynot2018 avatar whynot2018 commented on May 28, 2024

Second time I use this command, it was installed successfully.

bash <(curl -sS https://raw.githubusercontent.com/nickjj/dotfiles/master/install) --skip-system-packages

If I try to open terminal now it gives this massage

/home/whynot/.config/zsh/.zshrc:.:80: no such file or directory: /fzf/shell/key-bindings.zsh
/home/whynot/.config/zsh/.zshrc:.:112: no such file or directory: /fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
/home/whynot/.config/zsh/.zshrc:.:113: no such file or directory: /zsh-autosuggestions/zsh-autosuggestions.zsh
/home/whynot/.config/zsh:
total 60
drwxr-xr-x  2 whynot whynot  4096 Dec 14 08:32 .
drwx------ 54 whynot whynot  4096 Dec 14 08:20 ..
lrwxrwxrwx  1 whynot whynot    42 Dec 14 08:19 .aliases -> /home/whynot/dotfiles/.config/zsh/.aliases
-rw-r--r--  1 whynot whynot 49642 Dec 14 08:32 .zcompdump
lrwxrwxrwx  1 whynot whynot    43 Dec 14 08:19 .zprofile -> /home/whynot/dotfiles/.config/zsh/.zprofile
lrwxrwxrwx  1 whynot whynot    40 Dec 14 08:19 .zshrc -> /home/whynot/dotfiles/.config/zsh/.zshrc

and vim works without any errors with it is supposed to be.

from dotfiles.

nickjj avatar nickjj commented on May 28, 2024

It looks like your XDG_DATA_HOME variable is unset so when this line runs in your zshrc:

. "${XDG_DATA_HOME}/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh"

It comes up empty and now you end up with the path you have which doesn't exist.

Did you open a new terminal after running the install script? What if you echo $XDG_DATA_HOME?

from dotfiles.

whynot2018 avatar whynot2018 commented on May 28, 2024

yes after installation I restarted the terminal. echo $XDG_DATA_HOME output was empty.
I added this line and voila no more errors.
vim ~/.zshenv
export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
I appreciate your help.

from dotfiles.

nickjj avatar nickjj commented on May 28, 2024

That export is referenced in this dotfiles repo here:

export XDG_DATA_HOME="${HOME}/.local/share"

But for your profile to take effect you'll have to log out and back in to your X session.

from dotfiles.

Related Issues (15)

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.