From 3ec8d42fbf6eed78c24de2caca63d91a2604ff50 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 19 May 2024 14:54:41 +0700 Subject: init --- .zshrc | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .zshrc (limited to '.zshrc') 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 -- cgit v1.2.3