7
7
# Initialization code that may require console input (password prompts, [y/n]
8
8
# confirmations, etc.) must go above this block; everything else may go below.
9
9
if [[ -f " ${HOME} /.zgen/init.zsh" && -r " ${XDG_CACHE_HOME:- $HOME / .cache} /p10k-instant-prompt-${(% ):-% n} .zsh" ]]; then
10
- source " ${XDG_CACHE_HOME:- $HOME / .cache} /p10k-instant-prompt-${(% ):-% n} .zsh"
10
+ . " ${XDG_CACHE_HOME:- $HOME / .cache} /p10k-instant-prompt-${(% ):-% n} .zsh"
11
11
P10K_DELAYED_SETUP=false
12
12
else
13
13
P10K_DELAYED_SETUP=true
@@ -90,7 +90,7 @@ if [ ! -d "${HOME}/.zgen" ]; then
90
90
git clone https://github.com/tarjoilija/zgen.git " ${HOME} /.zgen"
91
91
fi
92
92
# This has to be after ZSH_CUSTOM, but before using the zgen command
93
- source " ${HOME} /.zgen/zgen.zsh"
93
+ . " ${HOME} /.zgen/zgen.zsh"
94
94
95
95
# Which plugins would you like to load?
96
96
# Standard plugins can be found in $ZSH/plugins/
177
177
# Delayed Powerlevel10k setup to avoid the warning about console output.
178
178
# This has to be after "zgen save"
179
179
if [[ " ${P10K_DELAYED_SETUP} " = true && -r " ${XDG_CACHE_HOME:- $HOME / .cache} /p10k-instant-prompt-${(% ):-% n} .zsh" ]]; then
180
- source " ${XDG_CACHE_HOME:- $HOME / .cache} /p10k-instant-prompt-${(% ):-% n} .zsh"
180
+ . " ${XDG_CACHE_HOME:- $HOME / .cache} /p10k-instant-prompt-${(% ):-% n} .zsh"
181
181
fi
182
182
183
183
# -----
@@ -248,7 +248,7 @@ zstyle ':completion:*' menu select=2
248
248
# -----
249
249
250
250
# Handled by zgen
251
- # source "${ZSH}/oh-my-zsh.sh"
251
+ # . "${ZSH}/oh-my-zsh.sh"
252
252
253
253
# User configuration
254
254
@@ -306,7 +306,7 @@ bindkey \^U backward-kill-line
306
306
# Expand glob expressions, subcommands and aliases
307
307
# This variable serves as a blacklist
308
308
GLOBALIAS_FILTER_VALUES=()
309
- # source ${ZSHLIBPATH}ohmyzsh/plugins/globalias/globalias.plugin.zsh
309
+ # . ${ZSHLIBPATH}ohmyzsh/plugins/globalias/globalias.plugin.zsh
310
310
globalias () {
311
311
# Get last word to the left of the cursor:
312
312
# (z) splits into words using shell parsing
@@ -368,7 +368,7 @@ if command -v gem &> /dev/null; then
368
368
COLORLS_FILE_PATH=" $( gem which colorls) "
369
369
if [ -f " ${COLORLS_FILE_PATH} " ]; then
370
370
COLORLS_PATH=" $( dirname " ${COLORLS_FILE_PATH} " ) "
371
- source " ${COLORLS_PATH} /tab_complete.sh"
371
+ . " ${COLORLS_PATH} /tab_complete.sh"
372
372
alias lc=' colorls -lA --sd'
373
373
else
374
374
# echo "Colorls was not found. Please install it with \"gem install colorls\" or remove it form .zshrc."
386
386
# POWERLINE_SCRIPT="/usr/share/powerline/bindings/zsh/powerline.zsh"
387
387
# if [ -f $POWERLINE_SCRIPT ]; then
388
388
# powerline-daemon -q
389
- # source "/usr/share/powerline/bindings/zsh/powerline.zsh"
389
+ # . "/usr/share/powerline/bindings/zsh/powerline.zsh"
390
390
# fi
391
391
392
392
# PowerShell telemetry has to be disabled with an environment variable before starting it.
@@ -395,11 +395,11 @@ export POWERSHELL_TELEMETRY_OPTOUT="1"
395
395
396
396
# Powerlevel10k configuration
397
397
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
398
- [[ ! -f ~ /.p10k.zsh ]] || source ~ /.p10k.zsh
398
+ [[ ! -f ~ /.p10k.zsh ]] || . ~ /.p10k.zsh
399
399
400
400
# Add Snap icons to the launcher
401
401
if [ -f " /etc/profile.d/apps-bin-path.sh" ]; then
402
- emulate sh -c " source /etc/profile.d/apps-bin-path.sh"
402
+ emulate sh -c " . /etc/profile.d/apps-bin-path.sh"
403
403
fi
404
404
405
405
# Fix command-line usage of LibreOffice
0 commit comments