diff options
author | self <self@sateoki.xyz> | 2022-01-20 09:58:08 +0000 |
---|---|---|
committer | self <self@sateoki.xyz> | 2022-01-20 09:58:08 +0000 |
commit | f6fe1e0277db24f6de5235384eeb7b7bc0ae3514 (patch) | |
tree | eeac87a1e47b4e3e523a30fc759dcee9c1631e74 /zsh/.zshrc | |
parent | 5fbc956a421d8f70dcff34cf4fbae85de6bdea2f (diff) |
Updated zshrc prompt
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -21,7 +21,7 @@ zstyle :compinstall filename '/home/george/.zshrc' export PATH="$PATH:/home/george/.local/bin" # Configuring applications to use nvidia GPU -alias mpv='__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME="nvidia" __VK_LAYER_NV_optimus="NVIDIA_only" __GL_SHOW_GRAPHICS_OSD=1 mpv' +alias mpv="prime-run mpv" # Other general user config export USRCONFDIR=/home/george/.usrconf # Set user configuration directory @@ -48,12 +48,13 @@ alias newsboat="newsboat -u ~/.config/newsboat/urls" # Changing Default Prompt -PS1='[%F{#ff0000}%n%f| %F{#6a0dad}%1d%f] => ' +# PS1='[%F{#ff0000}%n%f %F{#6a0dad}%1d%f] ' +PS1='[%F{#ff0000}%1d%f] :: ' PROMPT=$PS1 # Aliases / Functions alias ls='ls -a --color=always' -alias e="exa -a --header --long --git" +alias e="exa -a --header --long --git --time-style=long-iso" alias pkg-query="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'" alias s="systemctl" alias c="clear ; e" |