dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit dfa823bde05fdca6092ff9db0d31df8f8ac470d8 parent acc11f5ce442dc6cbbeb6a76c880cca7dec11eec Author: maydayv7 <maydayv7@gmail.com> Date: Wed, 3 Apr 2024 12:48:03 +0530 fix: Some Cleanups
Diffstat:
| M | files/archive/Linux/Arch/zshrc | | | 48 | +++++++++++++++++++++++++++++------------------- |
| M | files/nano/nanorc | | | 1 | + |
| M | files/neofetch/config.conf | | | 42 | +----------------------------------------- |
3 files changed, 31 insertions(+), 60 deletions(-)
diff --git a/files/archive/Linux/Arch/zshrc b/files/archive/Linux/Arch/zshrc @@ -1,31 +1,41 @@ -## Arch ZSH Config +## My ZSH Config ## +# Plugins +source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme -# Powerlevel10k Prompt -[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh +# Powerlevel10K Prompt if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # Find The Command source /usr/share/doc/find-the-command/ftc.zsh noprompt quiet -# Oh My ZSH -export ZSH="/home/v7/.oh-my-zsh" -source $ZSH/oh-my-zsh.sh +bindkey '^[[1;5C' forward-word +bindkey '^[[1;5D' backward-word +bindkey '^[[3;5~' kill-word +bindkey '^[[3~' delete-char +bindkey "^[[5~" beginning-of-history +bindkey "^[[6~" end-of-history +bindkey '^[[A' up-line-or-search +bindkey '^[[B' down-line-or-search +bindkey '^[[C' forward-char +bindkey '^[[D' backward-char +bindkey '^[[F' end-of-line +bindkey '^[[H' beginning-of-line +bindkey '^J' backward-kill-line -# Set name of the theme to load -ZSH_THEME="powerlevel10k/powerlevel10k" - -# Plugins -plugins=( - git - zsh-autosuggestions - zsh-syntax-highlighting -) +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=1000 +setopt SHARE_HISTORY -# Aliases -alias sike="neofetch" -alias edit="nano" alias hi="echo 'Hi there. How are you?'" alias bye="exit" -alias repo="sudo systemctl start reflector.service" +alias c="bat" +alias l="eza -b -h -l -F --octal-permissions --icons --time-style iso" +alias grep="grep --color" +alias edit="sudo $EDITOR" +alias sike="neofetch --ascii_distro arch" diff --git a/files/nano/nanorc b/files/nano/nanorc @@ -2,6 +2,7 @@ set autoindent set indicator set linenumbers set locking +set matchbrackets "(<[{)>]}" set minibar set mouse set nonewlines diff --git a/files/neofetch/config.conf b/files/neofetch/config.conf @@ -472,46 +472,6 @@ image_source="auto" # Default: 'auto' # Values: 'auto', 'distro_name' # Flag: --ascii_distro -# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", -# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, -# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, -# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, -# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, -# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, -# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, -# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, -# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, -# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, -# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, -# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, -# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, -# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, -# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, -# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, -# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, -# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, -# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, -# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, -# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, -# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, -# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, -# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, -# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, -# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, -# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, -# and IRIX have ascii logos -# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. -# Use '{distro name}_old' to use the old logos. -# NOTE: Ubuntu has flavor variants. -# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, -# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. -# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, -# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, -# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, -# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, -# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, -# postmarketOS, and Void have a smaller logo variant. -# Use '{distro name}_small' to use the small variants. ascii_distro="auto" ## Colors @@ -519,7 +479,7 @@ ascii_distro="auto" # Default: 'distro' # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' # Flag: --ascii_colors -ascii_colors=(6) +ascii_colors=(7 6) ## Bold Ascii Logo # Whether or not to Bold the Ascii Logo