summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc61
1 files changed, 61 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..2633b0e
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,61 @@
+export ZSH="$HOME/.oh-my-zsh"
+
+ZSH_THEME="robbyrussell"
+
+HIST_STAMPS="dd/mm/yyyy"
+
+plugins=(git)
+
+source $ZSH/oh-my-zsh.sh
+
+HISTFILE=~/.histfile
+HISTSIZE=1000
+SAVEHIST=1000
+setopt autocd beep
+
+zstyle :compinstall filename '/home/altaf/.zshrc'
+
+autoload -Uz compinit
+compinit
+
+# export GTK_IM_MODULE=fcitx
+# export QT_IM_MODULE=fcitx
+# export XMODIFIERS=@im=fcitx
+
+# .bashrc
+export JAVA_HOME=/usr
+XDG_CONFIG_HOME="$HOME/.config"
+XDG_DATA_HOME="$HOME/.local"
+export PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/altaf/.local/bin/:/home/altaf/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/bin/node-v20.11.0-linux-x64/bin/:/usr/bin/Discord:/usr/bin/focalboard-app:/usr/bin/node-v20.11.0-linux-x64/bin/:/usr/bin/Discord:/usr/bin/focalboard-app"
+export GRIM_DEFAULT_DIR=~/Pictures/screenshots
+export XDG_MENU_PREFIX=arch-
+
+export GTK_THEME=Arc:dark
+export GTK2_RC_FILES=/usr/share/themes/Arc-Dark/gtk-2.0/gtkrc
+# export QT_STYLE_OVERRIDE=Materia-dark
+# export QT_STYLE_OVERRIDE=kvantum
+export QT_QPA_PLATFORMTHEME=qt6ct
+export QT_QPA_PLATFORM=wayland
+
+alias gnome-network-displays="flatpak run org.gnome.NetworkDisplays"
+alias :q=exit
+alias sude="sudo -E"
+alias hello=Hyprland
+alias neo=neofetch
+alias nv="neovide"
+alias me="cd /home/altaf/Life"
+alias btw="fastfetch"
+alias please=sudo
+
+eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
+
+# https://github.com/nvbn/thefuck/issues/859
+find ~/.fuck_file -mtime +5 -delete
+[[ -f ~/.fuck_file ]] || eval $(thefuck --alias | tee ~/.fuck_file)
+eval $(cat ~/.fuck_file)
+
+alias heck=fuck
+
+# eval $(thefuck --alias fuck)
+
+export EDITOR=nvim