feat: configure fish and bash
Configure both shells to use the similar commands and provide similar experiences.
This commit is contained in:
parent
cc9ff2d16e
commit
e8d45d7b77
@ -133,9 +133,14 @@ RUN curl https://rtx.pub/install.sh | sh \
|
|||||||
# configure fish
|
# configure fish
|
||||||
RUN git clone https://github.com/NvChad/NvChad.git ~/.config/nvim \
|
RUN git clone https://github.com/NvChad/NvChad.git ~/.config/nvim \
|
||||||
&& fish -c true \
|
&& fish -c true \
|
||||||
|
# configure fish and bash
|
||||||
|
RUN fish -c true \
|
||||||
&& echo 'starship init fish | source' >> ${XDG_CONFIG_HOME}/fish/config.fish \
|
&& echo 'starship init fish | source' >> ${XDG_CONFIG_HOME}/fish/config.fish \
|
||||||
&& echo '{$XDG_DATA_HOME}/rtx/bin/rtx activate fish | source' >> ${XDG_CONFIG_HOME}/fish/config.fish \
|
&& echo '{$XDG_DATA_HOME}/rtx/bin/rtx activate fish | source' >> ${XDG_CONFIG_HOME}/fish/config.fish \
|
||||||
&& echo 'zoxide init fish | source' >> ${XDG_CONFIG_HOME}/fish/config.fish
|
&& echo 'zoxide init fish | source' >> ${XDG_CONFIG_HOME}/fish/config.fish \
|
||||||
|
&& echo 'eval "$(starship init bash)"' >> ${HOME}/.bashrc \
|
||||||
|
&& echo 'eval "$(${XDG_DATA_HOME}/rtx/bin/rtx activate bash)"' >> ${HOME}/.bashrc \
|
||||||
|
&& echo 'eval "$(zoxide init bash)"' >> ${HOME}/.bashrc
|
||||||
|
|
||||||
# install rtx plugins
|
# install rtx plugins
|
||||||
RUN ${XDG_DATA_HOME}/rtx/bin/rtx plugins install \
|
RUN ${XDG_DATA_HOME}/rtx/bin/rtx plugins install \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user