GithubHelp home page GithubHelp logo

Comments (4)

ellie avatar ellie commented on August 16, 2024 1

mkdir: /Users/senthil/.config/fish/conf.d: Permission denied

Looks like something is up with your home directory permissions. If you could fix those and retry, we should be good to go

from atuin.

ellie avatar ellie commented on August 16, 2024 1

Hmmm sounds like the part where we add the atuin binary to PATH is failing. I believe it adds it to all shells, will check. Can you share the file permissions you have set for that path? Or any parent directory of it, if it doesn't exist

Otherwise, our script automatically adds the shell init:

atuin/install.sh

Lines 43 to 54 in 90e7d28

if ! grep -q "atuin init zsh" "${ZDOTDIR:-$HOME}/.zshrc"; then
printf '\neval "$(atuin init zsh)"\n' >> "${ZDOTDIR:-$HOME}/.zshrc"
fi
# Use of single quotes around $() is intentional here
# shellcheck disable=SC2016
if ! grep -q "atuin init bash" ~/.bashrc; then
curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh
printf '\n[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh\n' >> ~/.bashrc
echo 'eval "$(atuin init bash)"' >> ~/.bashrc
fi

using homebrew (the tui doesn't show up even after successful installation from homebrew).

The docs cover installations with package managers, where manually installing the shell plugin is required: https://docs.atuin.sh/guide/installation/

from atuin.

amartyadav avatar amartyadav commented on August 16, 2024

@ellie , I have the exact problem when trying to download atuin using curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh.

And nothing else seems to have a problem with permissions in my home directory. Some detailed insight would be helpful.

I have zsh in my terminal, but atuin defaults to using .bash_profile and fish, just like OP's issue. I am not sure if that is the intended way, but my first instinct was that it should use my zsh profile? Or am I wildly wrong here? It is able to add the following lines to me .zshrc:

. "$HOME/.atuin/bin/env" eval "$(atuin init zsh)"

from atuin.

amartyadav avatar amartyadav commented on August 16, 2024

@orsenthil , I just realised that using the curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh installation method fails (at least on my macos apple silicon), and so does using homebrew (the tui doesn't show up even after successful installation from homebrew).

I reinstalled atuin using cargo (follow the docs, and install the rust toolchain using rustup first). Then in your terminal - echo 'eval "$(atuin init zsh)"' >> ~/.zshrc.

And then restart your terminal. This correctly installs it, and the tui is visible.

@ellie

from atuin.

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.