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