From 7d0c0a50951105f27d7facd70e57a6441c20c919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petar=20Kapri=C5=A1?= Date: Fri, 9 May 2025 22:48:21 +0200 Subject: [PATCH] bash: Modify bash config --- .bash_profile | 5 ----- .bashrc | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 6 deletions(-) mode change 120000 => 100644 .bashrc diff --git a/.bash_profile b/.bash_profile index cf7dd2cc..276c2957 100644 --- a/.bash_profile +++ b/.bash_profile @@ -3,11 +3,6 @@ # -export QT_STYLE_OVERIDE=GTK+ -export GDK_BACKEND=wayland -export GTK_THEME=Adwaita:dark -export GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-3.0/gtkrc -export _JAVA_AWT_WM_NONREPARENTING=1 [[ -f ~/.bashrc ]] && . ~/.bashrc # [ -z "$DISPLAY" ] && diff --git a/.bashrc b/.bashrc deleted file mode 120000 index ead19878..00000000 --- a/.bashrc +++ /dev/null @@ -1 +0,0 @@ -/home/kappa/dotfiles/.bashrc \ No newline at end of file diff --git a/.bashrc b/.bashrc new file mode 100644 index 00000000..3fdc6cdd --- /dev/null +++ b/.bashrc @@ -0,0 +1,51 @@ +# ~/.bashrc +# If not running interactively, don't do anything +[[ $- != *i* ]] && return +# alias ls='ls --color=auto' +export EDITOR=vim +set -o vi +alias phone="sudo jmtpfs -o allow_other ~/fleshic" +alias lh="last | head" +alias nano=vim +alias VIM="vim -u ~/.vim/essential.vim" +alias ed="ed -p '> ' -v" +alias ultitex="cd ~/.vim/UltiSnips/tex" +alias ulti="cd ~/.vim/UltiSnips" +export PATH="$HOME/.local/bin:$HOME/bin:$PATH" +export HISTCONTROL=ignorespace +export HISTSIZE=10000 +export QT_QPA_PLATFORM=wayland +export QT_QPA_PLATFORM=xcb +export QT_QPA_PLATFORMTHEME=qt5ct +export GOPATH="$HOME/.local/go" +export PATH="$GOPATH/bin:$PATH" +export GOPATH="$GOPATH:$HOME/projects/working/go" +export GOPROXY="direct" +export CLASSPATH=".:/usr/share/java/antlr-complete.jar:$CLASSPATH" +export PATH="$HOME/.cargo/bin/:$PATH" +export GEM_HOME=$(gem env user_gemhome) +export PATH="$GEM_HOME/bin:$PATH" +export PATH="$HOME/down/pkgs/flutter/bin:$PATH" +export MOZ_ENABLE_WAYLAND=1 +osc7_cwd() { + local strlen=${#PWD} + local encoded="" + local pos c o + for (( pos=0; pos