Commit graph

355 commits

Author SHA1 Message Date
25d2812e49 Fix loading history-search-end 2022-08-19 15:27:34 +01:00
42b33bf233 Add comments to MOTD function 2022-08-19 09:54:17 +01:00
2c42757078 Add shell version to MOTD 2022-08-19 09:42:47 +01:00
ae7936f490 Pull history-search-end into my bashrc 2022-08-19 09:31:18 +01:00
fa989aa26b Zsh history/bindkey tweaks 2022-08-19 09:13:39 +01:00
3d77c14121 Remove unneeded unalias commands 2022-08-19 09:07:11 +01:00
010cf31edd Run ShellCheck on bashrc and fix POSIX issues 2022-08-19 08:54:34 +01:00
6447f00ce3 Set emacs keybindings in zsh 2022-08-18 17:11:43 +01:00
28f6c578ec Load system-wide zsh files 2022-08-18 17:04:19 +01:00
bef9016deb Update role names 2022-08-18 17:01:06 +01:00
8ffb0a4772 Make task names more specific 2022-08-18 16:57:20 +01:00
67ff07aafc Fix typo in locale.conf path 2022-08-18 16:40:46 +01:00
333a45fd7c Use XDG directories explicitly 2022-08-18 16:37:57 +01:00
40532e1bc6 Improve zsh behaviour 2022-08-18 16:36:05 +01:00
87e3fd03ca In PS1, use $/# in bash, and %/# in zsh 2022-08-18 15:10:19 +01:00
d84e2f040d Revert "Use emacs navigation in zsh"
This reverts commit e8c690bde4.
2022-08-18 09:03:32 +01:00
e8c690bde4 Use emacs navigation in zsh 2022-08-18 08:59:57 +01:00
974915218e Add history searching for zsh 2022-08-18 08:54:37 +01:00
fdb521b217 Fix error making shell exit immediately 2022-08-18 08:50:52 +01:00
9b85df20ff Stop motd running twice 2022-08-18 08:49:32 +01:00
a4bcc82a42 Allow zsh to work with bashrc 2022-08-18 08:44:25 +01:00
c251514a8b Add /opt/local/sbin to PATH 2022-08-16 09:40:22 +01:00
eb7ccd94f2 Add /opt/local/bin to PATH 2022-08-16 09:38:18 +01:00
200ba62653 Print MacOS version 2022-08-15 12:10:34 +01:00
4e34ffaced Stop creating ~/data and ~/data/opt 2022-08-15 11:47:03 +01:00
948ba826f0 Use an ACP variable 2022-08-15 11:35:34 +01:00
9954e482b4 Don't warn about bash deprecation on MacOS 2022-08-15 11:25:26 +01:00
89c181ee07 Make ~/data and ~/data/opt 2022-08-14 22:07:36 +01:00
d6bd981f40 Use ~/data as main data directory 2022-08-14 22:05:02 +01:00
7c7deff021 Add /var/acp/bin to PATH 2022-08-09 12:23:02 +01:00
689f0f742e Stop sharing certificate dirs by default 2022-08-01 21:20:24 +01:00
bfbd165056 Share certs with a separate command 2022-08-01 21:02:10 +01:00
71bfb63bfc Make Debian/Ubuntu certs dir read-only 2022-07-31 20:58:36 +01:00
f193423ee4 Add Debian/Ubuntu cert directory 2022-07-31 20:55:36 +01:00
e4c5278add Stop setting up X11 2022-07-30 22:39:27 +01:00
2ebfb5c676 Add HOME to container 2022-07-29 14:21:30 +01:00
23378b5cf3 Merge prun commands 2022-07-29 12:08:10 +01:00
e7850cf06b Fix typo 2022-07-23 18:42:19 +01:00
3789eca326 Add prunw command to run containers with Wayland/X11 2022-07-23 18:41:20 +01:00
2a5a52fc48 Vim flatpak does not have full filesystem access 2022-07-18 11:18:56 +01:00
0f045364d0 Add system flatpak path 2022-07-17 22:56:28 +01:00
c7f7524133 Make vim detection simpler 2022-07-17 22:53:12 +01:00
4c5d943942 Put the vim flatpak path in one place 2022-07-17 22:38:47 +01:00
629a4f85b2 Handle Flatpak of Vim 2022-07-17 22:07:29 +01:00
00ae7b6952 Alias vim to vi 2022-07-17 21:36:31 +01:00
a972eb4831 Add language aliases 2022-07-13 21:30:07 +01:00
fea3238a04 Tweak openssl command 2022-07-11 15:55:00 +01:00
250679025e Set per-user timezone 2022-07-01 17:01:26 +01:00
4dbbe59e96 Turn off bracketed paste in bash 2022-05-11 11:58:37 +00:00
6cf95fa9aa Move PasswordLastSet further down 2022-04-01 14:35:40 +01:00
e2a8a9f606 Add tlscheck function to bashrc 2022-03-31 13:24:44 +00:00
3da6331b64 Add ADUserInfo function 2022-03-31 11:51:03 +00:00
f0a6a4ee47 Fix a few more paths pointing to ~/bin 2022-03-06 17:20:36 +00:00
d96910733a Use ~/.local/bin instead of ~/bin 2022-03-06 16:10:55 +00:00
25081f9271 Set the Qt DPI when in GNOME 2022-03-04 19:27:20 +00:00
b9d4dec691 Fix typo 2022-03-02 13:00:08 +00:00
349f71ed4f Improve version comparison 2022-03-02 12:58:27 +00:00
d61938bdcd Handle PowerShell 5 on Windows 2022-03-02 12:49:23 +00:00
9d11d4a876 Improve PowerShell on Linux 2022-03-02 11:56:41 +00:00
2597888258 Rename caliso to isocal 2022-03-01 10:10:54 +00:00
d2ea7ed741 Swap dig with drill 2022-02-23 10:19:18 +00:00
5b57596510 Use vim as EDITOR if available 2022-02-20 19:32:49 +00:00
248866aa6b Merge remote-tracking branch 'refs/remotes/origin/main' 2022-02-14 12:17:49 +00:00
30345e635f Add SSH vmhost config 2022-02-14 12:16:59 +00:00
e1c2541dba Merge remote-tracking branch 'refs/remotes/origin/main' 2022-02-13 17:58:28 +00:00
c3a36af690 Add caliso alias 2022-02-13 17:58:17 +00:00
dca35d0535 Add LIBVIRT_DEFAULT_URI 2022-02-10 12:47:48 +00:00
87dd504af1 Add simpletls command 2022-02-10 08:40:56 +00:00
937413cf3f Make the prompt bold, default colour 2022-01-25 14:18:39 +00:00
a4cfd46422 Add PowerShell profile 2022-01-18 11:48:49 +00:00
29e1f2834f Add Midnight Commander config 2022-01-11 22:47:57 +00:00
b15df679c0 Use full option names for prun 2022-01-11 22:28:09 +00:00
1ab4a9d5e6 Clean up aliases 2022-01-11 21:55:41 +00:00
dee7ba7a7f Tweak la and ll aliases 2022-01-11 21:47:19 +00:00
28083e8f2a Add la alias 2022-01-11 21:44:39 +00:00
b7ee321b16 Disable aliases etc. for ls 2022-01-11 21:42:43 +00:00
95a5aa1ca8 Don't use colour with ls 2022-01-11 21:38:32 +00:00
61830b6287 Fix typo in tmux command 2021-12-30 19:29:43 +00:00
286f3b6f65 Check if systemd is running 2021-12-07 10:53:34 +00:00
a5ae64f590 Stop prompting about locale.conf 2021-12-04 11:54:56 +00:00
2514d38819 The include module is being phased out 2021-12-01 22:17:45 +00:00
76f7afc86c Don't error on terminal-features 2021-11-19 12:47:54 +00:00
ac5e804566 Move tmux options into config file 2021-11-19 12:45:38 +00:00
119e276af0 Single PS1 for all users 2021-11-19 12:23:51 +00:00
d288a54f80 Show the timezone in usermotd 2021-11-16 20:56:36 +00:00
4d9023f195 Oops, that breaks lots of things 2021-11-16 15:38:10 +00:00
2439b6d226 Run the shell under ssh-agent if needed 2021-11-16 13:18:05 +00:00
1bcb3192be Include a few more standard paths 2021-11-14 16:34:02 +00:00
6ecae05193 Revert tmux terminal name 2021-11-14 13:27:18 +00:00
bcfe71536e Add Ruby Gems bin to PATH 2021-11-10 16:33:19 +00:00
a318f2989b Move git config into XDG_CONFIG_HOME 2021-11-01 10:59:31 +00:00
6cda7a213e Use XDG_CONFIG_HOME variables instead of hard-coding ~/.config 2021-11-01 10:46:09 +00:00
00ec029348 Put startup tasks in a usermotd () function 2021-11-01 10:45:28 +00:00
3f88085b3d Stop specifying a credential helper (prefer SSH) 2021-09-27 17:04:12 +01:00
ab344c7023 Prefer ff over rebase 2021-09-27 17:03:37 +01:00
5710858b18 Add clang-format and editorconfig 2021-09-25 15:20:50 +01:00
d3039a48b8 Make symbolic links 2021-08-31 21:53:19 +01:00
fb86575f07 Revert "Switch to VS Code"
This reverts commit 370c720a93.
2021-07-26 21:27:45 +01:00
983bcaa3a1 Add $GOPATH/bin to $PATH 2021-07-02 23:12:25 +01:00
11cc4430e6 Add GOPROXY variable 2021-07-02 22:23:16 +01:00
8a6f281ffa Use the tmux-256color terminal name 2021-07-01 10:59:33 +00:00
8a1b75ac03 Rename set to set-option 2021-07-01 10:44:47 +00:00
fa23fcfc7d Put GOPATH out of the way
GOPATH isn't needed as much since Go Modules (Go v1.11).
2021-06-30 22:23:35 +01:00
cd10edf33b Set autocrlf to input and stop saving HTTP(S) passwords 2021-06-30 12:14:02 +00:00
9973d25fa0 Set default branch name 2021-06-21 22:34:44 +01:00
9e1cd70e71 Only print LANG for interactive terminals 2021-06-19 14:32:15 +01:00
ed21638ed0 Stop with /acp 2021-06-18 21:36:41 +01:00
251913e5db Add /acp/bin to PATH and print LANG at login 2021-06-18 21:20:58 +01:00
60706c3fb1 Force unicode in tmux 2021-06-18 18:49:14 +00:00
d655448001 Single-line prompt 2021-06-18 14:52:03 +01:00
be9da43fb9 Make pacup a script instead of an alias 2021-05-24 19:03:35 +01:00
e09bec7c47 Remove cal alias 2021-05-16 11:18:37 +01:00
63a01cd7fa Load default system locales 2021-05-13 13:44:41 +01:00
02202560d1 Skip GPG checking (rhbz#1247644) 2021-05-12 11:57:56 +01:00
565fe365f7 Use Canadian locale (ISO dates) 2021-05-08 18:56:38 +01:00
d217302134 Use prompt characters that work in x86_64 console 2021-05-02 22:47:40 +01:00
1934af7fff Fix spacing in new terminal 2021-05-02 22:36:03 +01:00
bb1e7680fc Use tab indents and undo last speedup 2021-05-02 22:17:58 +01:00
8b9213fde7 Speed up bash profile 2021-05-02 22:12:59 +01:00
b435996722 Change prompt colour 2021-05-02 20:15:42 +01:00
dc4227ce18 Fix whitespace 2021-05-02 20:12:30 +01:00
e13cb28eb0 Stop being clever about locale 2021-05-02 20:08:55 +01:00
87976c34ca Improve prompt 2021-05-02 19:56:39 +01:00
997000262d Use the system dnf cache as a non-root user 2021-04-30 08:24:22 +01:00
044f48e733 Update clone URLs 2021-03-31 12:28:56 +01:00
c76d73d5b2 Add docutils setup script 2021-03-22 22:50:28 +00:00
ef43f66137 Fix bash SSH check 2021-03-18 10:02:00 +00:00
72837fb596 Add git URL shortcuts 2021-03-17 22:43:30 +00:00
16270a9af9 Update URL for repos 2021-03-17 16:56:11 +00:00
b85c04a5bd Fix loading of dquilt completions 2021-03-16 08:30:56 +00:00
e5b480b4bf Add quilt for Debian patches 2021-03-16 08:26:44 +00:00
c5ee1f39df Remove git aliases I no longer use 2021-03-11 22:53:53 +00:00
f20cf89ca3 Remove name/email from bashrc 2021-03-11 22:49:39 +00:00
4e26a596ad Include .gitconfig.local for user.name and user.email 2021-03-11 22:47:47 +00:00
842d69a591 Copy the .gitconfig file directly
Trying to be smart and using the git_config module was breaking aliases
and other settings, because of stray quotation marks.
2021-03-09 22:00:05 +00:00
22848a1dfb Use .bashrc.local instead of .bashrc.HOSTNAME 2021-03-02 11:10:51 +00:00
8b4b799afb Set HOME permissions 2021-02-25 19:37:28 +00:00
22c09a5f52 Remove another dbus-needing command 2021-02-22 12:40:05 +00:00
58fe832ee8 Use local variables and don't rely on dbus 2021-02-22 12:38:33 +00:00
5a56df3d36 Properly handle empty locale selection 2021-02-21 15:40:42 +00:00
f4a89b7a25 Add username to prompt 2021-02-21 15:20:49 +00:00
51af298b2a Don't error if the file doesn't exist 2021-02-21 15:10:47 +00:00
02a91023cb More locale changes 2021-02-21 15:06:35 +00:00
6d2fed89ba Prompt for a locale 2021-02-21 14:46:29 +00:00
caa76b902e Fix typos 2021-02-21 01:18:18 +00:00
df6dc24860 Simplify locale handling 2021-02-21 01:16:17 +00:00
dc8e774e95 Try to handle UTF-8/utf8/uft8 differences 2021-02-21 00:41:12 +00:00
65258523c0 Focus on Bash on Linux 2021-02-20 22:59:54 +00:00
d8c5a4bb89 Fix Ansible installation 2021-02-19 23:42:10 +00:00
a63ef1472d Add Apache 2.0 license text to all .yml files 2021-02-19 22:55:57 +00:00