make the nature of zsh more apparent
This commit is contained in:
parent
6dda0b1d21
commit
0d8d7972b2
8 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# system usage
|
||||
#########################################
|
||||
alias reload="source ~/.zshrc"
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Updated to use $HOME
|
||||
|
||||
# >>> conda initialize >>>
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# env variables
|
||||
if ! [ $(cat /etc/hostname)=="thinkpad" ]; then
|
||||
export BROWSER=/mnt/c/Users/daylin/AppData/Local/Vivaldi/Application/vivaldi.exe
|
||||
|
@ -5,4 +7,3 @@ else
|
|||
export BROWSER=vivaldi-stable
|
||||
fi
|
||||
# aliases
|
||||
alias files=explorer.exe
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# XDG
|
||||
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
function cl() {
|
||||
DIR="$*"
|
||||
# if no DIR given, go home
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Auto-completion
|
||||
# ---------------
|
||||
[[ $- == *i* ]] && source "$HOME/.fzf/shell/completion.zsh" 2>/dev/null
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# Start with system path
|
||||
# Retrieve it from getconf, otherwise it's just current $PATH
|
||||
prepend-path() {
|
Loading…
Reference in a new issue