Comments (8)
That looks to me like it's $HOME/.config/fish, and that fish tries to use it to write its temporary files and it's not working. You should check the permissions on that directory (ls -ld ~/.config ~/.config/fish
), and if it's not owned by your user chown
it, or if it's just not writable chmod
it.
from fish-shell.
Hi, thanks for the very quick reply. This solved the message error. But still the prompt and the functions/variable I have set in ~/ .config/fish/ they are not picked up. These were working on my other laptop. I restarted the terminal and tried also to exec fish --login
without success
from fish-shell.
If the permissions for one directory got messed up, it's likely the permissions for files inside also got messed up. Check that the files all have the correct permissions and owner as well.
from fish-shell.
Yup Checked! Seems all goo
drwxr-xr-x 7 nicola.delillo staff 224 4 May 08:38 .
drwxr-xr-x 3 root staff 96 4 May 05:48 ..
drwxr-xr-x 2 nicola.delillo staff 64 4 May 06:39 completions
drwxr-xr-x 2 nicola.delillo staff 64 4 May 06:38 conf.d
-rw-r--r-- 1 nicola.delillo staff 424 4 May 05:50 config.fish
-rw-r--r-- 1 nicola.delillo staff 1578 4 May 08:38 fish_variables
drwxr-xr-x 5 nicola.delillo staff 160 4 May 06:16 functions
and
drwxr-xr-x 5 nicola.delillo staff 160 4 May 06:16 .
drwxr-xr-x 7 nicola.delillo staff 224 4 May 08:38 ..
-rw-r--r-- 1 nicola.delillo staff 39 4 May 06:16 cdl.fish
-rw-r--r-- 1 nicola.delillo staff 3436 4 May 06:13 fish_pompt.fish
-rw-r--r-- 1 nicola.delillo staff 695 4 May 06:14 humanise_duration.fish
from fish-shell.
Other than that ~/.config is still owned by root - which is generally an issue but shouldn't cause problems reading these files, I think.
Run
set --show XDG_CONFIG_HOME fish_function_path
from fish-shell.
Ah right! I can change it if need.
set --show XDG_CONFIG_HOME fish_function_path
$fish_function_path: set in global scope, unexported, with 6 elements
$fish_function_path[1]: |/Users/nicola.delillo/.config/fish/functions|
$fish_function_path[2]: |/opt/homebrew/etc/fish/functions|
$fish_function_path[3]: |/Users/nicola.delillo/.local/share/fish/vendor_functions.d|
$fish_function_path[4]: |/opt/homebrew/Cellar/fish/3.7.1/share/fish/vendor_functions.d|
$fish_function_path[5]: |/opt/homebrew/share/fish/vendor_functions.d|
$fish_function_path[6]: |/opt/homebrew/Cellar/fish/3.7.1/share/fish/functions|
from fish-shell.
This includes "/Users/nicola.delillo/.config/fish/functions" as the first path, that means your cdl function or your fish_prompt should be picked up from there.
- unless, of course, something in your config changes these after those functions are loaded.
from fish-shell.
So I have checked the cdl function and works. The only thing it does not work is the config. I will look into that since I just cp those files from another working fish machine. I'd say this issue is the solved!
from fish-shell.
Related Issues (20)
- Unnecessary capitalization / completion for command `scp` HOT 1
- curl file completion doesn't work for @ HOT 3
- export function not expanding tilde HOT 1
- Documentation: `export` works fine HOT 3
- [Feature] Allow non-127 returns from fish_command_not_found HOT 1
- How to sync history only when ctrl+r shotcut press?
- Build fails without a C++ compiler HOT 1
- No documentation for "internally generated named events" HOT 2
- disown key binding to fzf with xargs HOT 2
- detect shell is fish in executable for auto-complete HOT 2
- Shell Input Redirect Fails HOT 5
- Weird error whenever I open terminal HOT 3
- large memory usage when run large lines code HOT 1
- Crash on vim mode: `/src/input.cpp:367: failed assertion: event_storage_.empty() && "event_storage_ should be empty"` HOT 3
- UX: History pager changes number of columns while typing
- fish: Unknown command: __history_previous_command_arguments HOT 1
- Pasting long text makes the terminal go completely blank. HOT 2
- `abbr` function callback environment has `status is-command-substitition` true HOT 1
- Make autocomplete able to correct typos HOT 5
- disktutil eject autocomplete not showing volumes on MacOS
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 fish-shell.