diff --git a/.bashrc b/.bashrc index fde2277..5b07ce9 100644 --- a/.bashrc +++ b/.bashrc @@ -114,10 +114,10 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi -alias cd-repos='cd /mnt/c/Users/zacmon001/repos' +alias cd-repos-hit='cd /mnt/c/Users/zacmon001/repos' +alias cd-repos-rr='cd /mnt/c/repos' alias cd-beetl='cd /mnt/c/Users/zacmon001/repos/beetl' export PATH=$PATH:/home/zacmon001/.local/bin -eval "$(oh-my-posh init bash --config ~/.config/oh-my-posh/theme.omp.json)" alias vim='nvim' alias edit-bash='vim ~/.bashrc && source ~/.bashrc && clear && echo "sourced ~/.bashrc"' @@ -129,3 +129,7 @@ alias install-requirements='/bin/sh ~/.config/requirements/install.sh' export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +export PATH="$PATH:/opt/nvim-linux-x86_64/bin" +export PATH="$PATH:/home/wholteza/.local/bin" +export PATH=$PATH:/home/wholteza/.local/bin diff --git a/.config/requirements/install.sh b/.config/requirements/install.sh old mode 100644 new mode 100755 index d363444..8c1b087 --- a/.config/requirements/install.sh +++ b/.config/requirements/install.sh @@ -1,5 +1,16 @@ #!/bin/bash sudo apt install \ - neovim \ - git + git \ + unzip \ + fzf + +curl -s https://ohmyposh.dev/install.sh | bash -s + +# Install neovim from prebuilt binaries +curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz +sudo rm -rf /opt/nvim +sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz + +# Install nvm +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash diff --git a/readme.md b/readme.md index 3b1cf6a..85babc4 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,12 @@ # Consultant Linux Dotfiles -These dotfiles are managed by YADM. +These dotfiles are managed by YADM and works with ubuntu for wls. + + +## Installation +- Install yadm: `sudo apt install yadm`. +- Clone repo: `yadm clone ` +- Make installation executable `chmod +x ~/.config/requirements/install.sh` +- Run installation script `~/.config/requirements/install.sh` + +