Skip to content

Commit 70ee361

Browse files
committed
fixup: bug of show status
1 parent af98c76 commit 70ee361

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.foam/templates/host.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: ${1:$TM_FILENAME_BASE}
3-
tags: host
3+
type: host
44
foam_template:
55
filepath: 'hosts/$FOAM_TITLE/$FOAM_TITLE.md'
66
name: 'host'

.foam/templates/service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: ${1:$TM_FILENAME_BASE}
3-
tags: service
3+
type: service
44
foam_template:
55
filepath: 'services/$FOAM_TITLE/$FOAM_TITLE.md'
66
name: 'service'

.foam/templates/user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: ${1:$TM_FILENAME_BASE}
3-
tags: user
3+
type: user
44
foam_template:
55
filepath: 'users/$FOAM_TITLE/$FOAM_TITLE.md'
66
name: 'user'

.vscode/env.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function current_status() {
192192
echo "Current User: ${CURRENT_USER} => ${USER}:${PASS} (${CURRENT_NT_HASH})"
193193
fi
194194
}
195-
if [[ ! -z "$SHOW_CURRENT" ]]; then
195+
if [[ ! -z "$SHOW_CURRENT_STATUS" ]]; then
196196
current_status
197197
fi
198198

0 commit comments

Comments
 (0)