Comments (7)
Hi,
The set-theme
script gets made available from this symlink:
Line 205 in 42a3c5b
What happens if you run these 2 commands:
ls -la ~
ls -laR ~/.config
Can you paste the output here.
from dotfiles.
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.
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.
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.
It looks like your XDG_DATA_HOME
variable is unset so when this line runs in your zshrc:
Line 112 in 42a3c5b
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.
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.
That export is referenced in this dotfiles repo here:
dotfiles/.config/zsh/.zprofile
Line 7 in 42a3c5b
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)
- Avoid hardcoding usernames and variables when possible HOT 3
- Suggestion: include .vimrc HOT 7
- Error No such file or directory, on set-theme script HOT 2
- Suggestion: use `LocalAppData` environment variable to get path to Windows Terminal HOT 3
- ~/.bash_history history command list HOT 18
- Screen black if I change to light version then it's white without any color. HOT 5
- .tmux.conf styles HOT 2
- Gnome terminal defaults cause errors HOT 5
- possible replacement of asdf HOT 5
- vim starts up very slow nearly 30 seconds HOT 2
- is it a good idea to make a dock container without such setup hassel? HOT 1
- slow start-up while opening files using vim HOT 1
- vim error E492: Not an editor command: ++nested call s:hijack_directory() HOT 2
- How do you keep your Windows file up to date? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.