From 017b0e5c7b84918489e1f83ec4816d18c2017d08 Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 9 Sep 2025 19:19:51 +0200 Subject: Testing --- linux/home/.bashrc | 93 ------------------------------------------------------ 1 file changed, 93 deletions(-) delete mode 100644 linux/home/.bashrc (limited to 'linux/home/.bashrc') diff --git a/linux/home/.bashrc b/linux/home/.bashrc deleted file mode 100644 index 6cefd9d..0000000 --- a/linux/home/.bashrc +++ /dev/null @@ -1,93 +0,0 @@ -# shellcheck shell=bash -# -#██████╗ █████╗ ███████╗██╗ ██╗██████╗ ██████╗ -#██╔══██╗██╔══██╗██╔════╝██║ ██║██╔══██╗██╔════╝ -#██████╔╝███████║███████╗███████║██████╔╝██║ -#██╔══██╗██╔══██║╚════██║██╔══██║██╔══██╗██║ -#██████╔╝██║ ██║███████║██║ ██║██║ ██║╚██████╗ -#╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ -# -# ~/.bashrc -# - -if [[ $- != *i* ]]; then - . ~/.profile - return -fi - -# Get the current active terminal -term="$(cat /proc/"$PPID"/comm)" - -# Set a default prompt -p='\[\033[01;37m\]┌─[\[\033[01;32m\]srdusr\[\033[01;37m\]]-[\[\033[01;36m\]archlinux\[\033[01;37m\]]-[\[\033[01;33m\]\W\]\[\033[00;37m\]\[\033 -\[\033[01;37m\]└─[\[\033[05;33m\]$\[\033[00;37m\]\[\033[01;37m\]]\[\033[00;37m\] ' - -# Set transparency and prompt while using st -if [[ $term = "st" ]]; then - transset-df "0.65" --id "$WINDOWID" >/dev/null - - # [Your_Name]-----| |=======|------[Your_Distro] - # [Color]--------| | [Color]------| | - # [Style]------------| | | [Style]---------| | | - # V V V V V V - p='\[\033[01;37m\]┌─[\[\033[01;32m\]srdusr\[\033[01;37m\]]-[\[\033[01;36m\]archlinux\[\033[01;37m\]]-[\[\033[01;33m\]\W\[\033[00;37m\]\[\033[01;37m\]] -\[\033[01;37m\]└─[\[\033[05;33m\]$\[\033[00;37m\]\[\033[01;37m\]]\[\033[00;37m\] ' -# A A A -# [Style]----| | |-------- [Your_Choice] -# [Color]------------| - -fi - -# If not running interactively, dont do anything -[[ $- != *i* ]] && return - -# My alias commands -alias ls='ls --color=auto -1' -alias shred='shred -uzvn3' -alias wallset='feh --bg-fill' - -# normal bare repo alias -alias _config='git --git-dir=$HOME/.cfg --work-tree=$HOME' - -config() { - if [ "$1" = "add" ]; then - shift - for f in "$@"; do - case "$(uname -s)" in - Linux) - _config add -- "linux/home/$f" - ;; - Darwin) - _config add -- "macos/home/$f" - ;; - MINGW*|MSYS*|CYGWIN*) - _config add -- "windows/Documents/$f" - ;; - *) - _config add -- "$f" - ;; - esac - done - else - _config "$@" - fi -} - -PS1=$p - -bind -m vi-command 'Control-l: clear-screen' -bind -m vi-insert 'Control-l: clear-screen' - -export EDITOR="nvim" -# pfetch - -#export NVM_DIR="$HOME/.local/share/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 PROMPT_COMMAND="resize &>/dev/null ; $PROMPT_COMMAND" - -export RUSTUP_HOME=${XDG_DATA_HOME:-$HOME/.local/share}/rustup -export CARGO_HOME=${XDG_DATA_HOME:-$HOME/.local/share}/cargo -export PATH="${CARGO_HOME}/bin:${RUSTUP_HOME}/bin:$PATH" -if which rustc >/dev/null; then export RUST_BACKTRACE=1; fi -- cgit v1.2.3