Commit graph

460 commits

Author SHA1 Message Date
efac524f71 Revert "Use local variables"
This reverts commit e303284bae.
2023-02-16 21:15:07 +00:00
f607e381f1 Fix a few shellcheck warnings 2023-02-16 21:11:41 +00:00
e303284bae Use local variables 2023-02-16 20:37:30 +00:00
1ce5142230 Disable telemetry in Go 2023-02-16 20:05:56 +00:00
b481966adc Set usermotd name/version fallbacks 2023-02-15 15:31:13 +00:00
dc30fd8838 Add nowh (human-readable 'now') 2023-02-09 13:30:48 +00:00
9af2739c18 Create _acp_vm_root dir if needed 2023-02-09 13:10:39 +00:00
a395ea963f Revert "Load cargo bash completion"
This reverts commit 230bce4418.
2023-02-06 21:40:19 +00:00
230bce4418 Load cargo bash completion 2023-02-06 21:38:07 +00:00
b9e8d9b21f Alias vim to vi 2023-02-06 21:25:48 +00:00
e3a75878e8 Check for /.flatpak-info file 2023-02-06 21:23:40 +00:00
f11f1fe92a Rely on system-default umask 2023-01-22 16:57:36 +00:00
01f699a9fb Update copyright years 2023-01-21 19:42:51 +00:00
f064349727 Add some virtinst improvements
Add qemu guest agent channel, set video to virtio, handle other options
at the end of the command.
2023-01-19 09:09:00 +00:00
533ae0799b More fixes to virtinst 2023-01-16 12:16:01 +00:00
c2d0078bc4 Focus virtinst on user VMs 2023-01-16 11:05:06 +00:00
94c80cdd9d Use local copy of UefiShell.iso 2023-01-16 10:36:45 +00:00
Anthony Perkins
ac73e9ed9f Use older VM config 2023-01-16 10:05:17 +00:00
b641d879a1 Add isodate alias 2023-01-15 15:28:33 +00:00
20acd94be5 Use US English by default 2023-01-15 15:09:42 +00:00
440cfe6233 Fix adoc pwd 2023-01-13 15:04:37 +00:00
1e2034cf79 Add adoc alias for asciidoctor container 2023-01-13 15:02:42 +00:00
2ec9607b3c Add flatpak to XDG_DATA_DIRS 2022-12-11 20:18:26 +00:00
a9dbf27f0d Fix virtinst 2022-12-05 11:44:53 +00:00
2b38e4941c Replace tabs with four spaces 2022-11-28 22:45:54 +00:00
1d9e33f1cd Only load bash_completion.sh when interactive 2022-11-28 07:47:01 +00:00
5d3b354ec0 Replace spaces with tab 2022-11-28 07:43:15 +00:00
198f63d8fb Stop forcing QT DPI 2022-11-21 13:47:48 +00:00
298edfff72 Load bash_completion.sh 2022-11-21 11:23:29 +00:00
e5c39edc65 Create locale file if it does not exist 2022-11-15 21:44:26 +00:00
5bc6e33d2f Add /app/bin to path to fix flatpaks 2022-11-14 21:17:27 +00:00
e1fd75229c Default to always booting UefiShell.iso 2022-11-03 19:47:26 +00:00
a274dd2e0e Add missing VM args 2022-11-03 19:31:41 +00:00
b156ca3c77 Accept SSH host keys 2022-10-30 22:29:33 +00:00
aaff16b695 Remove LIBVIRT_DEFAULT_URI env var 2022-10-30 21:49:54 +00:00
1adf1005ea Add virtinst function 2022-10-30 19:41:23 +00:00
b5a6ddbc22 Add default ssh config with include directory 2022-10-20 11:54:52 +01:00
ba09d4ae1a Shorter name for default fdo SDK 2022-10-13 11:25:03 +01:00
f8ed59fd16 More re-ordering 2022-10-13 11:24:18 +01:00
72ffbb74cb Fix path ordering 2022-10-13 11:18:39 +01:00
e260aac3c4 Reorder to put /usr/bin at the start of PATH
/usr/bin is quickly becoming the canonical location for Linux binaries.
Move this to the start of PATH, so that 'which', 'command -v', et al.
list this path as the location, instead of e.g. /usr/sbin or /sbin.
2022-10-13 11:04:32 +01:00
90b83306ad Fix when $container is not defined 2022-10-13 09:17:58 +01:00
7067668e10 Add * to prompt if in flatpak 2022-10-12 23:21:29 +01:00
31eb9fde19 Add docs for local builds 2022-10-12 22:08:43 +01:00
ea67a1a7ae Add gnome sdk alias 2022-10-12 13:19:43 +01:00
1a33d11bc0 Update fdosdk alias 2022-10-12 08:14:45 +01:00
fe25514456 Add fdosdk alias 2022-10-12 08:12:46 +01:00
d2fde56318 Add commands for importing a template 2022-10-04 21:08:38 +01:00
eef30f9cb0 Merge remote-tracking branch 'refs/remotes/origin/main' 2022-10-04 21:02:04 +01:00
9cb4f0d956 Always include --disk 2022-10-04 21:01:54 +01:00
8ca90de207 Check if /var/acp is a symlink 2022-10-04 09:41:00 +01:00
572407bda7 Add virtio serial/console to machines 2022-10-01 17:20:42 +01:00
2205cbdfb1 Change network device name 2022-09-30 17:03:59 +01:00
7a27715327 Use a non-breaking space 2022-09-30 12:04:32 +01:00
e4ae46029c Use --memory instead of deprecated --ram 2022-09-30 12:03:20 +01:00
54d54a77c5 Move Tips header up 2022-09-30 11:59:27 +01:00
5df6e6850e Clean up instructions 2022-09-29 21:35:10 +01:00
6ac2011b17 Re-wrap paragraph 2022-09-29 20:41:36 +01:00
f5f87c3693 Add virtio network model 2022-09-29 20:32:24 +01:00
b3db4ce69d Add documentation for using virt-install 2022-09-29 13:27:36 +01:00
1694bd476e Fix stray 'local' command 2022-09-22 21:59:19 +01:00
e026154a3a Remove stale ssh-agent socket 2022-09-22 16:34:30 +01:00
521287ce6c Swap 0/1 with false/true and disable command prompt 2022-09-21 21:53:46 +01:00
3d05da3c57 Add C.UTF-8 locale alias 2022-09-19 13:14:30 +01:00
6f7c54d8f7 Use /usr/bin/env for bash and zsh files 2022-09-18 21:20:44 +01:00
1033f4b8ed Use history-search-end in zsh 2022-09-18 21:17:18 +01:00
087e13bc5e Bash doesn't always read .bashrc 2022-09-16 08:52:01 +01:00
f4fb45b114 Fix shebang line 2022-09-16 08:46:13 +01:00
12fea09179 Another attempt at handling multiple shells 2022-09-16 08:43:51 +01:00
3e6d660ba1 Set a POSIX-compatible prompt if not bash or zsh 2022-09-15 22:29:18 +01:00
8c44a70500 Add command to install locales 2022-09-15 20:57:29 +01:00
e7a8e4fd61 Zsh keybindings 2022-09-14 21:56:07 +01:00
d00794487f Try handling zsh again 2022-09-14 21:42:53 +01:00
ad0b8dbf02 Fix bash_profile testing length of $BASH_VERSION 2022-09-14 21:21:14 +01:00
ebf51f3a41 Add $ACP/bin to path 2022-09-14 14:09:23 +01:00
aca3a05e8d Give up trying to handle multiple shells 2022-09-11 22:16:30 +01:00
9d80e129dc Try loading all files properly again 2022-09-10 23:29:47 +01:00
d1182673b8 Revert "Check if .shrc is actually loaded"
This reverts commit 65dd88967f.
2022-09-10 23:21:51 +01:00
65dd88967f Check if .shrc is actually loaded 2022-09-10 23:14:51 +01:00
f256e00f31 Show bold prompt 2022-09-08 16:10:57 +01:00
cbb0e7118b More cleanups of shell login files 2022-09-08 10:49:03 +01:00
829c67ab1b Clean up loading of shell files 2022-09-08 10:31:44 +01:00
97e9200841 Enable mouse in tmux 2022-09-08 10:17:41 +01:00
26ed692c3e Moved to a different repo 2022-09-07 07:55:22 +01:00
6d8346dab4 Name the VM after the vmnumber 2022-09-07 07:37:36 +01:00
2057cd5562 Use IPv6 by default 2022-09-06 22:55:36 +01:00
0d51a321e8 Handle serial console better 2022-09-06 22:43:47 +01:00
7bb25aab40 Default to the serial console 2022-09-06 22:23:49 +01:00
b4acc466f7 Use a vmnumber and clean up after exit 2022-09-06 22:14:17 +01:00
31a6f7487b Fix network and working without cdrom 2022-09-06 21:53:11 +01:00
b9ce8a2c26 Add a few comments around UEFI 2022-09-06 16:29:43 +01:00
f752200b54 Check for firmware, and stop connecting com1 twice 2022-09-06 16:02:09 +01:00
8487765469 Add more comments to bhyve-vm 2022-09-06 15:49:07 +01:00
7286b825f0 Tweak bhyve start script 2022-09-06 15:28:44 +01:00
6684c5e8c6 Add script to start UEFI bhyve VM 2022-09-05 16:41:54 +01:00
b1c3772903 Only add snap if snapd exists 2022-09-05 16:04:17 +01:00
7b6b88d360 Fix missing history 2022-08-31 16:00:03 +01:00
9a6e567738 Set XDG_RUNTIME_DIR if needed 2022-08-31 15:40:04 +01:00
85b083a4b2 Don't save shell history 2022-08-31 15:32:03 +01:00
dbadc49eea Fix PS1 for /bin/sh 2022-08-31 15:11:04 +01:00
898ebb3021 Merge remote-tracking branch 'refs/remotes/origin/main' 2022-08-29 21:25:21 +01:00
79deba6c0f Load without evaluating 2022-08-29 21:24:49 +01:00
9aaef26dcf Stop adding SSH keys automatically 2022-08-29 20:22:06 +01:00
a33355e921 Fix typos in profile and shrc 2022-08-29 20:08:16 +01:00
4edb07531c Fix SSH agent detection 2022-08-25 11:31:58 +01:00
1a2a9054e5 Print SSH keys in motd 2022-08-25 11:23:13 +01:00
940162fab6 Load ssh-agent on login if not running 2022-08-25 10:30:17 +01:00
aa650a15af Bind the delete key 2022-08-25 10:09:09 +01:00
1dc9dbd558 Load files from /usr/local then /etc 2022-08-23 15:10:57 +01:00
738237f206 Use case-insensitive tab completion 2022-08-23 14:12:00 +01:00
b1e9914ee4 Make zsh history behaviour match bash 2022-08-23 13:56:37 +01:00
32521dd7c6 Stop showing files being loaded 2022-08-23 13:53:19 +01:00
1d656e8bd8 Move most exports from shrc to profile 2022-08-23 13:44:31 +01:00
62d6db7ce3 Fix showing Reading when non-interactive 2022-08-23 13:26:48 +01:00
7bba951c6f Print which files are being loaded 2022-08-23 13:18:08 +01:00
a94cc10f72 Load shrc files if the shell is interactive 2022-08-23 13:13:40 +01:00
8e59db7d1b Show shell if it can't be detected 2022-08-19 16:08:06 +01:00
4a0efed1e0 Fix layout of motd 2022-08-19 16:06:06 +01:00
ef143c2bf4 Fix PS1 2022-08-19 15:58:46 +01:00
7346394acc Fix typo in zshrc 2022-08-19 15:54:15 +01:00
439a052837 Re-arrange shell files 2022-08-19 15:52:07 +01:00
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
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
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
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