Commit graph

557 commits

Author SHA1 Message Date
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
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
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
414d50abb3 Add local ansible to PATH 2021-02-19 15:24:31 +00:00
28a5ed4465 Add ~/opt/centos-git-common to PATH 2021-02-16 17:32:07 +00:00
4e5ef72bb1 Fix LANG handling 2021-02-15 15:58:22 +00:00
fd41fd2973 Check if the locale is installed 2021-02-15 15:52:10 +00:00
51843de7b4 Avoid errors from dbus 2021-02-15 15:35:29 +00:00
84c00d0562 Make shrc work with set -u 2021-02-15 10:44:28 +00:00
64b115d76e Unset acctsvclang and reorder locale detection 2021-02-10 00:44:11 +00:00
bde906a55f Load shrc if not already loaded 2021-02-10 00:29:00 +00:00
86f2a1fbfa Load the language from AccountsService if available 2021-02-10 00:11:02 +00:00
270be39c68 Check for a user-dirs.locale file 2021-02-09 20:12:26 +00:00
bb5d57a034 Load ~/.shrc if using SSH 2021-02-09 16:27:08 +00:00
5a09a88af4 Load .config/locale.conf if it exists 2021-02-05 18:43:10 +00:00
f863c469fb Fix typo 2021-02-05 17:39:46 +00:00
0f20765dbe Set more based on default user locale 2021-02-05 17:14:14 +00:00
9dab461c9a Fix stray tab character 2021-02-05 17:13:56 +00:00
734699a6dc Use en_GB unless one of a few exceptions are already set 2021-02-05 17:01:58 +00:00
d01139aeb9 Show NAME and VERSION instead of PRETTY_NAME 2021-02-03 08:23:59 +00:00
ac27099675 Ignore leading spaces and duplicates in bash history 2021-01-26 10:42:15 +00:00
65b76aa6e5 Move bell-style to shrc from inputrc 2021-01-26 10:42:15 +00:00
59d7bea98b Case-insensitive completion in Bash 2021-01-26 10:42:15 +00:00
214f200ad9 Check for existing loaded SSH keys 2021-01-26 10:42:15 +00:00
d57c8086d5 Check for the new SSH key 2021-01-26 10:42:15 +00:00
01a14ec8bd Read /etc/profile if running zsh 2021-01-26 10:42:15 +00:00
8ff08f7c45 Use gvim as EDITOR 2021-01-26 10:42:15 +00:00
ca4b8ade07 Add the snap path to XDG_DATA_DIRS instead of reading all of profile 2021-01-26 10:42:15 +00:00
5280e2998e Read /etc/profile if running zsh 2021-01-26 10:42:15 +00:00
8164dd780f Always start Chromium in incognito mode 2021-01-26 10:42:15 +00:00
b441eebd63 Add alias for zypper list-updates 2021-01-26 10:42:15 +00:00
2275a6ee21 Ignore commands with leading spaces 2021-01-26 10:42:15 +00:00
f848c7854b Make 'ip' command colourful 2021-01-26 10:42:15 +00:00
455de5c367 Add options for running Wayland clients 2021-01-26 10:42:15 +00:00
95a676f8d5 Add alias for btrfs filesystem usage 2021-01-26 10:42:15 +00:00
2a6906b782 Add alias for encrypting and decrypting with OpenSSL 2021-01-26 10:42:14 +00:00
5f5ff781c2 Escape $ and # 2021-01-26 10:42:14 +00:00
7d298ea310 Use go installed in ~/opt/go 2021-01-26 10:42:14 +00:00
6dddc0e521 Stop forcing Adwaita Light 2021-01-26 10:42:14 +00:00
df72f4d6bf Add alias to create encrypted 7zip file 2020-09-02 09:42:55 +01:00
e249632f21 Enable case-insensitive tab-complete for zsh 2020-08-30 21:43:20 +01:00
8db43a49a7 Force Adwaita Light for Gtk 2020-08-12 11:08:18 +01:00
42ae57f186 Add .mailcap to auto view HTML mail in lynx 2020-06-23 11:46:02 +01:00
d767e2b60f Neaten up and label the locale settings 2020-06-22 22:57:15 +01:00
973d899a15 Set a coloured prompt for bash and zsh 2020-06-22 22:15:24 +01:00
781a16ec4f Not all shells support hyphens in function names 2020-06-22 22:15:00 +01:00
6c6865115f Correct typos in locales 2020-06-19 15:47:14 +01:00
4e8ca057e4 Revert some of the locale changes 2020-06-19 15:42:12 +01:00
e5d3ffbed7 Use fr_FR (instead of fr_CA) and en_US (instead of en_GB) 2020-06-19 15:17:51 +01:00
d7cfb6a84b Use emacs as the graphical $EDITOR 2020-06-14 20:42:41 +01:00
92d76eb1c5 Neaten up the locale settings slightly 2020-06-14 20:42:20 +01:00
16d197c718 Use the French Canadian language if it is the system default 2020-06-14 16:42:20 +01:00
3f08a6c2d5 Add ~/.dput.cf 2020-06-04 22:42:31 +01:00
796c677dcb Add an alias for 'apt source --download-only' 2020-06-04 22:33:24 +01:00
e734b9f5a5 Set pbuilderrc globally 2020-06-04 21:37:57 +01:00
cfc3aa91ed Move Debian build environment to separate tasks 2020-06-04 19:19:17 +01:00
5463986fb1 Add DEBEMAIL and DEBFULLNAME 2020-05-22 21:10:20 +01:00
15038a8030 Add "alu" alias for "apt list --upgradable" 2020-05-22 09:02:29 +01:00
6fd04abbcf Revert "Mount the current directory as /mnt"
This reverts commit 36f311ae59ef465ca436bda954889ad643ffb3e0.
2020-05-20 16:48:14 +01:00
cfd9cb5725 Mount the current directory as /mnt 2020-05-20 16:41:02 +01:00
754b3dfc2c Add CDE binaries to $PATH 2020-05-18 15:18:38 +01:00
8a6a86aa05 Unbind Ctrl-X 2020-05-18 15:18:24 +01:00
320b2e6b6c Revert last commit, it stopped scrolling working properly 2020-04-28 08:54:59 +01:00
927aa72319 Detect tmux version for mouse option 2020-04-28 08:52:58 +01:00
6c0dc01d70 Handle mouse scrolling in tmux 2020-04-28 08:39:09 +01:00
b59c836581 Add aurmake alias 2020-04-18 20:50:47 +01:00
fd02508b04 Add pacup alias 2020-04-12 16:14:28 +01:00
05f610d4cf Re-organise shrc and export GPG_TTY 2020-04-09 09:59:47 +01:00
d62494b2a2 Make the prompt work when hostname command missing (Arch) 2020-04-07 15:46:49 +01:00
41be08a8cf Prefer a locally-installed ansible and ansible-playbook 2020-04-06 10:47:35 +01:00
8cd3fed16e Stop forcing light theme 2020-03-27 11:44:31 +00:00
c34ab49c4b Stop sourcing /etc/profile (breaks shell on Fedora) 2020-03-16 11:59:53 +00:00
Anthony Perkins
452e22d45e Force light GTK theme to fix Gnome apps under KDE 2020-03-12 13:00:43 +00:00
66d76c2ad3 Add qemu-quick function 2020-03-09 21:43:02 +00:00
d6076ff1cc Opt out of PowerShell telemetry 2020-03-05 14:58:48 +00:00
759ae7724f Set EDITOR to Sublime Text if it is installed 2020-02-12 12:16:33 +00:00
7f8f753037 Fix SSH detection 2020-02-06 11:20:47 +00:00
2a73c55a40 Make tm a function 2020-02-05 17:35:32 +00:00
6987a48f8b Load ssh key if missing 2020-02-05 15:38:15 +00:00
722db3814a Swap tabs for spaces 2020-01-27 19:07:14 +00:00
00bf56cd94 Rename eview to emacsro 2020-01-27 18:57:58 +00:00
4ea49eff69 Add emacs read-only command 2020-01-25 17:01:07 +00:00
81340358a2 Ignore cowsay in ansible 2020-01-15 17:22:36 +00:00
Anthony Perkins
d62da684c9 Rename WordGrinder alias to avoid conflict with WireGuard binary 2020-01-05 21:51:18 +00:00
c820fc2bc2 Add command for last reboots 2019-12-16 15:15:49 +00:00
ae972fcd62 Look for vim on NetBSD 2019-11-28 16:14:47 +00:00
75843ce910 Put /sbin before /usr/bin 2019-11-28 16:07:46 +00:00
82eccf2806 Add Heirloom Doctools to NetBSD 2019-11-28 15:53:33 +00:00
844cbf8343 Use git_config module instead of static .gitconfig 2019-11-28 12:34:22 +00:00
aea5ad970c Ignore motd (handled by OS) 2019-11-25 13:33:47 +00:00
ebb48f5b8b Show the MOTD 2019-11-25 11:01:39 +00:00
5fce5b2bc3 Use the full ruby version number 2019-11-23 13:48:36 +00:00
b5eff48332 Re-order paths 2019-11-22 15:49:15 +00:00
c99f94e68f Set up Ruby gems in home directory 2019-11-22 15:46:55 +00:00
36b912d5e1 Remove ssh-agent again (doesn't work) 2019-11-21 12:49:16 +00:00
4aaaa35c09 Use ssh-agent with tmux 2019-11-21 12:46:57 +00:00
53bac33b40 Use an if-else check for prompt character 2019-11-21 12:44:38 +00:00
5f681bb022 Use smaller space in prompt 2019-11-21 12:22:44 +00:00
a74f3bdce2 Add fixed hostname to prompt 2019-11-21 12:22:05 +00:00
0f349ccc59 Refactor completely to improve run speed 2019-11-20 10:07:43 +00:00