alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
add pa extension
author
j3s
date
5 years ago
(Feb 4, 2021, 5:52 PM -0600)
commit
cba8fdf2
cba8fdf231bad6eae3439864945255051226cdc4
parent
356129b8
356129b8959a9c14420db0784d98b3d588009185
+15
1 changed file
Expand all
Collapse all
Unified
Split
.env
+15
.env
Reviewed
···
2
2
3
3
PS1='$(prompt) \$ '
4
4
5
5
+
# extend pa for git stuffs
6
6
+
pa() {
7
7
+
case $1 in
8
8
+
g*)
9
9
+
cd "${PA_DIR:=${XDG_DATA_HOME:=$HOME/.local/share}/pa}"
10
10
+
shift
11
11
+
git "$@"
12
12
+
;;
13
13
+
14
14
+
*)
15
15
+
command pa "$@"
16
16
+
;;
17
17
+
esac
18
18
+
}
19
19
+
5
20
# needed for sway
6
21
if test -z "${XDG_RUNTIME_DIR}"; then
7
22
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir