summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_profile7
-rw-r--r--.bashrc12
-rw-r--r--.shells/alias44
-rw-r--r--.shells/exports15
-rw-r--r--.shells/prompt13
5 files changed, 91 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
new file mode 100644
index 0000000..fc902a1
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1,7 @@
+# Honor per-interactive-shell startup file
+if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
+
+export PATH="$PATH:~/.local/share/flatpak/exports/bin/"
+export QT_QPA_PLATFORMTHEME="qt5ct"
+GUIX_PROFILE="$HOME/.guix-profile"
+. "$GUIX_PROFILE/etc/profile"
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..12c4bbd
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,12 @@
+# Bash initialization for interactive non-login shells and
+# for remote shells (info "(bash) Bash Startup Files").
+
+# Export 'SHELL' to child processes. Programs such as 'screen'
+# honor it and otherwise use /bin/sh.
+
+
+source ~/.shells/alias
+source ~/.shells/exports
+source ~/.shells/prompt
+
+# PS1='\n\[\e[0m\][\[\e[0;1;38;5;208m\]\w\[\e[0;2;38;5;248m\]|\[\e[0;2;38;5;220m\]$(git branch 2>/dev/null | grep '"'"'^*'"'"' | colrm 1 2) \[\e[0;2;38;5;242m\]\t\[\e[0m\]]\n\[\e[0m\]-\[\e[0m\]> \[\e[0m\]
diff --git a/.shells/alias b/.shells/alias
new file mode 100644
index 0000000..901e81d
--- /dev/null
+++ b/.shells/alias
@@ -0,0 +1,44 @@
+
+alias ll='ls -l'
+alias grep='grep --color=auto'
+alias anki='QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" anki'
+
+alias vim='nvim'
+alias vi='nvim'
+
+#git
+alias config='/usr/bin/git --git-dir=$HOME/Developer/config/ --work-tree=$HOME'
+alias ga='git add'
+alias gaa='git add .'
+alias gc='git commit -m'
+alias gp='git push -u origin'
+alias gpm='git push -u origin master'
+alias gpd='git push -u origin developer'
+alias gs='git status'
+alias cpm='config push -u origin master'
+alias ca='config add'
+alias cs='config status'
+alias cc='config commit -m'
+
+#pacman | yay
+alias yeet='paru -Rsc'
+
+# weather
+alias weather="curl wttr.in"
+
+#aliases
+alias ls='ls -la --color=auto'
+alias sb='sudo systemctl start bluetooth'
+alias mykeys='setxkbmap -option caps:escape'
+alias logout='pkill -U $USER'
+#alias neofetch='neofetch | lolcat'
+alias b='bluetoothctl'
+alias ba='bluetooth-autoconnect'
+alias music='mocp'
+alias yt="yt-dlp"
+alias c="pavucontrol"
+alias r="ranger"
+alias klight="brightnessctl --device='tpacpi::kbd_backlight' set 1"
+
+##yarn
+alias sweb='BROWSER="firefox" yarn start'
diff --git a/.shells/exports b/.shells/exports
new file mode 100644
index 0000000..cda78fd
--- /dev/null
+++ b/.shells/exports
@@ -0,0 +1,15 @@
+# Export 'SHELL' to child processes. Programs such as 'screen'
+# honor it and otherwise use /bin/sh.
+export SHELL
+export PATH="$PATH:~/.local/share/flatpak/exports/bin/"
+
+if [[ $- != *i* ]]
+then
+ # We are being invoked from a non-interactive shell. If this
+ # is an SSH session (as in "ssh host command"), source
+ # /etc/profile so we get PATH and other essential variables.
+ [[ -n "$SSH_CLIENT" ]] && source /etc/profile
+
+ # Don't do anything else.
+ return
+fi \ No newline at end of file
diff --git a/.shells/prompt b/.shells/prompt
new file mode 100644
index 0000000..b7b8342
--- /dev/null
+++ b/.shells/prompt
@@ -0,0 +1,13 @@
+
+# Pormpt
+
+
+
+# Adjust the prompt depending on whether we're in 'guix environment'.
+# if [ -n "$GUIX_ENVIRONMENT" ]
+# then
+# PS1='\u@\h \w [env]\$ '
+# else
+# PS1='\u@\h \w\$ '
+# fi
+