Changes to work on vps
This commit is contained in:
14
.bashrc
14
.bashrc
@@ -171,22 +171,34 @@ if [[ $hostname == "arch-bepis" ]]; then
|
||||
elif [[ $hostname == "bepis-laptop" ]]; then
|
||||
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
|
||||
export SSH_AUTH_SOCK=/home/wholteza/snap/bitwarden/current/.bitwarden-ssh-agent.sock
|
||||
elif [[ $hostname == "dev1" ]]; then
|
||||
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
|
||||
fi
|
||||
|
||||
## add cargo installed binaries to PATH
|
||||
if [[ -d /home/wholteza/.cargo/bin ]]; then
|
||||
export PATH="/home/wholteza/.cargo/bin:$PATH"
|
||||
fi
|
||||
|
||||
## add swayprop to PATH
|
||||
if [[ -d /home/wholteza/.config/swayprop ]]; then
|
||||
export PATH="/home/wholteza/.config/swayprop:$PATH"
|
||||
fi
|
||||
|
||||
if [ -e /usr/share/nvm/init-nvm.sh ]; then
|
||||
source /usr/share/nvm/init-nvm.sh
|
||||
fi
|
||||
|
||||
export ompPath="$HOME/.config/oh-my-posh/theme.omp.json"
|
||||
|
||||
### Start oh my posh
|
||||
eval "$(oh-my-posh init bash --config $ompPath)"
|
||||
if [ -d "$HOME/.cargo/env" ]; then
|
||||
. "$HOME/.cargo/env"
|
||||
fi
|
||||
### Start tmux if not already in a session
|
||||
if [[ -z "$TMUX" ]]; then
|
||||
tmux attach || tmux new
|
||||
fi
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ done
|
||||
sudo apt update
|
||||
|
||||
sudo apt install \
|
||||
unzip \
|
||||
feh \
|
||||
wget \
|
||||
curl \
|
||||
@@ -27,12 +28,17 @@ sudo snap install rustup --classic
|
||||
rustup default stable
|
||||
rustup update
|
||||
# Oh my posh
|
||||
curl -s https://ohmyposh.dev/install.sh | sudo bash -s
|
||||
curl -s https://ohmyposh.dev/install.sh | bash -s
|
||||
# Node version manager
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
nvm install 22
|
||||
nvm use 22
|
||||
npm install
|
||||
# Install nvim
|
||||
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
|
||||
sudo rm -rf /opt/nvim
|
||||
sudo rm -rf /opt/nvim-linux-x86_64
|
||||
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
|
||||
|
||||
if $graphical; then
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
unbind C-b
|
||||
set -g prefix C-t
|
||||
bind C-t send-prefix
|
||||
|
||||
set -g mouse on
|
||||
|
||||
# List of plugins
|
||||
|
||||
11
package.json
Normal file
11
package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "wholteza",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
||||
Reference in New Issue
Block a user