summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorself <self@sateoki.xyz>2022-01-20 09:58:08 +0000
committerself <self@sateoki.xyz>2022-01-20 09:58:08 +0000
commitf6fe1e0277db24f6de5235384eeb7b7bc0ae3514 (patch)
treeeeac87a1e47b4e3e523a30fc759dcee9c1631e74 /zsh
parent5fbc956a421d8f70dcff34cf4fbae85de6bdea2f (diff)
Updated zshrc prompt
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index e83182d..d3f4d07 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -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"