Compare commits
5 commits
583f5379d2
...
0a5fde840d
Author | SHA1 | Date | |
---|---|---|---|
0a5fde840d | |||
866d85dc3a | |||
4824ee7022 | |||
b2af92c1bc | |||
d60cdf9788 |
5 changed files with 22 additions and 5 deletions
|
@ -18,6 +18,7 @@ export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"
|
||||||
|
|
||||||
# XDG
|
# XDG
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
||||||
|
|
||||||
# checks (stolen from zshuery)
|
# checks (stolen from zshuery)
|
||||||
|
@ -99,7 +100,8 @@ function git_prompt {
|
||||||
|
|
||||||
# Make a pretty prompt.
|
# Make a pretty prompt.
|
||||||
export PROMPT_COMMAND='history -a; if [ $? -ne 0 ];then ERROR_FLAG=1;else ERROR_FLAG=;fi;'
|
export PROMPT_COMMAND='history -a; if [ $? -ne 0 ];then ERROR_FLAG=1;else ERROR_FLAG=;fi;'
|
||||||
export PS1=${HOSTCOLOUR}${sh_light_gray}'\t | \h'${sh_green}':\w'${sh_light_gray}' $(git_prompt)'${sh_light_gray}'${ERROR_FLAG:+'${sh_light_red}'}\$ '${sh_norm}
|
#export PS1=${HOSTCOLOUR}${sh_light_gray}'\t | \h'${sh_green}':\w'${sh_light_gray}' $(git_prompt)'${sh_light_gray}'${ERROR_FLAG:+'${sh_light_red}'}\$ '${sh_norm}
|
||||||
|
export PS1=${HOSTCOLOUR}${sh_white}'\h'${sh_green}' \w'${sh_blue}' $(git_prompt)'${sh_light_gray}'${ERROR_FLAG:+'${sh_light_red}'}\$ '${sh_norm}
|
||||||
|
|
||||||
# New files and folders should not be world readable
|
# New files and folders should not be world readable
|
||||||
umask 0027
|
umask 0027
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
;;
|
;;
|
||||||
;; See 'C-h v doom-font' for documentation and more examples of what they
|
;; See 'C-h v doom-font' for documentation and more examples of what they
|
||||||
;; accept. For example:
|
;; accept. For example:
|
||||||
;;
|
|
||||||
(setq doom-font (font-spec :family "Hack" :size 12)
|
(setq doom-font (font-spec :family "Hack" :size 12)
|
||||||
doom-variable-pitch-font (font-spec :family "Liberation Sans" :size 12))
|
doom-variable-pitch-font (font-spec :family "Liberation Sans" :size 12))
|
||||||
;;
|
;;
|
||||||
|
@ -32,7 +31,7 @@
|
||||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
;; `load-theme' function. This is the default:
|
;; `load-theme' function. This is the default:
|
||||||
(setq doom-theme 'doom-dracula)
|
(setq doom-theme 'doom-nord)
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
|
|
14
emacs/.doom.d/custom.el
Normal file
14
emacs/.doom.d/custom.el
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
'(org-agenda-files
|
||||||
|
'("/home/amd/Nextcloud/org/todo/todo.org" "/home/amd/Nextcloud/org/todo/chores.org" "/home/amd/Nextcloud/org/todo/servers.org" "/home/amd/Nextcloud/org/todo/workstations.org" "/home/amd/Nextcloud/org/notes.org"))
|
||||||
|
'(warning-suppress-types '((comp) (defvaralias))))
|
||||||
|
(custom-set-faces
|
||||||
|
;; custom-set-faces was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
|
)
|
|
@ -173,7 +173,7 @@
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
;;terra ; Earth and Moon in alignment for performance.
|
;;terra ; Earth and Moon in alignment for performance.
|
||||||
;;web ; the tubes
|
;;web ; the tubes
|
||||||
;;yaml ; JSON, but readable
|
yaml ; JSON, but readable
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[user]
|
[user]
|
||||||
name = Andrew Davidson
|
name = Andrew Davidson
|
||||||
email = andrew@andr3w.net
|
email = andrew@andr3w.net
|
||||||
signingkey = F1199FC0A76BB402
|
signingkey = /home/amd/.ssh/id_rsa
|
||||||
|
|
||||||
[color]
|
[color]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
@ -57,3 +57,5 @@
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
|
Loading…
Reference in a new issue