-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zlogout
More file actions
36 lines (33 loc) · 1.02 KB
/
Copy pathdot_zlogout
File metadata and controls
36 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# .zlogout --- Processed when the shell is logging out
# Mike Barker <mike@thebarkers.com>
# Created: November 3rd, 2022
# Updated: November 5th, 2025
## Description:
# This file could be used to clear your terminal or any other resource which
# was setup at login.
#
# Startup files processed order
# /etc/zshenv
# $ZDOTDIR/.zshenv
# If the shell is a login shell:
# /etc/zprofile
# $ZDOTDIR/.zprofile
# If the shell is interactive:
# /etc/zshrc
# $ZDOTDIR/.zshrc
# If the shell is a login shell:
# /etc/zlogin
# $ZDOTDIR/.zlogin
# When a login shell exits:
# $ZDOTDIR/.zlogout
# /etc/zlogout
#
# Startup behaviour can be modified by the RCS and GLOBAL_RCS options. If
# ZDOTDIR is unset, HOME is used instead. See the docs for more info:
# https://zsh.sourceforge.io/Doc/Release/Files.html#Startup_002fShutdown-Files
# Print the sourced file's name
# For example to see the files loaded for a login shell use:
# $ DEBUG=1 zsh -l
[[ -n "$DEBUG" ]] && echo "Loading: ${(%):-%1N}..."
# Clear the screen
clear