installation files ubuntu
This commit is contained in:
8
.bashrc
8
.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
|
||||
|
||||
15
.config/requirements/install.sh
Normal file → Executable file
15
.config/requirements/install.sh
Normal file → Executable file
@@ -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
|
||||
|
||||
11
readme.md
11
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 <path to repo>`
|
||||
- Make installation executable `chmod +x ~/.config/requirements/install.sh`
|
||||
- Run installation script `~/.config/requirements/install.sh`
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user