diff --git a/bashrc b/bashrc index 68f2754..72cae50 100644 --- a/bashrc +++ b/bashrc @@ -35,17 +35,6 @@ fi # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' -# # enable programmable completion features (you don't need to enable -# # this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# # sources /etc/bash.bashrc). -# if ! shopt -oq posix; then -# if [ -f /usr/share/bash-completion/bash_completion ]; then -# . /usr/share/bash-completion/bash_completion -# elif [ -f /etc/bash_completion ]; then -# . /etc/bash_completion -# fi -# fi - PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.npm/bin:$PATH" alias lz="lazygit" diff --git a/start.sh b/start.sh deleted file mode 100755 index a5d87d2..0000000 --- a/start.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Starting virtualhere client in non-service mode -echo "Starting virtualhere client in non-service mode" -tmux new-window -n "VHC" sudo vhclientx86_64 - -# Creating scratch window -tmux new-window -n "BASH" - -# Check if the projects directory exists, if not create it -if [ ! -d ~/projects ]; then - mkdir ~/projects -fi - -# Start nvim in projects directory -cd ~/projects -tmux new-window -n "NVIM" nvim diff --git a/update.sh b/update.sh index 5e96612..4c2be73 100755 --- a/update.sh +++ b/update.sh @@ -230,9 +230,6 @@ if [ $DESKTOP == "yes" ]; then printf -- '\033[33m Installing Visual Code\n\033[37m' sudo snap install --classic code - # printf -- '\033[33m Installing Discord\n\033[37m' - # flatpak install -y flathub com.discordapp.Discord - printf -- '\033[33m Installing KiCad\n\033[37m' flatpak install -y flathub org.kicad.KiCad @@ -358,52 +355,8 @@ printf -- '\033[33m Symlinking update script\n\033[37m' mkdir -p ~/.local/bin ln -sf ~/code_server/update_wrapper.sh ~/.local/bin/update -# Symlink start script -printf -- '\033[33m Symlinking start script\n\033[37m' -ln -sf ~/code_server/start.sh ~/.start - # Symlink bashrc printf -- '\033[33m Symlinking bashrc\n\033[37m' ln -sf ~/code_server/bashrc ~/.bashrc -# # Restore default .bashrc -# printf -- '\033[33m Restoring default .bashrc\n\033[37m' -# sudo /bin/cp /etc/skel/.bashrc ~/.bashrc -# -# # Add path to bashrc -# printf -- '\033[33m Adding path to bashrc\n\033[37m' -# echo 'PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"' >> ~/.bashrc -# echo 'alias lz="lazygit"' >> ~/.bashrc -# echo 'alias vi="nvim"' >> ~/.bashrc -# echo 'alias vim="nvim"' >> ~/.bashrc -# echo 'alias ls="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissions"' >> ~/.bashrc -# echo 'alias lsa="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissions -a"' >> ~/.bashrc -# echo 'alias lss="eza -1 -l --icons=auto --git-repos --git -h -g --total-size -o --no-permissions -a"' >> ~/.bashrc -# echo 'source ~/.fzf.bash' >> ~/.bashrc -# echo 'source ~/.local/share/blesh/ble.sh' >> ~/.bashrc -# echo 'eval "$(zoxide init bash)"' >> ~/.bashrc -# echo 'eval "$(starship init bash)"' >> ~/.bashrc -# -# if [ $DESKTOP == "no" ] && [ $WSL == "no" ]; then -# # Add tmux/nvim autostart to bashrc -# printf -- '\033[33m Adding tmux/nvim autostart to bashrc\n\033[37m' -# echo "# TMUX" >> ~/.bashrc -# echo "if [[ ! \$TERM =~ screen ]]; then" >> ~/.bashrc -# echo "if which tmux >/dev/null 2>&1; then" >> ~/.bashrc -# echo ' test -z "$TMUX" && (tmux attach || tmux new-session ~/.start)' >> ~/.bashrc -# echo "fi" >> ~/.bashrc -# echo "fi" >> ~/.bashrc -# fi -# -# if [ $DESKTOP == "yes" ] || [ $WSL == "yes" ]; then -# # Add tmux/nvim autostart to bashrc -# printf -- '\033[33m Adding tmux/nvim autostart to bashrc\n\033[37m' -# echo "# TMUX" >> ~/.bashrc -# echo "if [[ ! \$TERM =~ screen ]]; then" >> ~/.bashrc -# echo "if which tmux >/dev/null 2>&1; then" >> ~/.bashrc -# echo ' tmux new-session' >> ~/.bashrc -# echo "fi" >> ~/.bashrc -# echo "fi" >> ~/.bashrc -# fi - printf -- '\033[32m \n\n***** Update complete! Please restart your terminal. *****\n\n\033[37m'