uncommited
This commit is contained in:
		| @@ -1 +1 @@ | ||||
| export WSCOMPAT_DIR=~/.local/bin/workspace-compat | ||||
| export WSCOMPAT_DIR=~/.config/workspace-compat | ||||
|   | ||||
							
								
								
									
										35
									
								
								arch-user/config/workspace-compat/profile.tmpl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								arch-user/config/workspace-compat/profile.tmpl
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| if [ -z "$WSCOMPAT_DIR" ] || [ "$WS_IS_COMPAT" != 1 ]; then | ||||
| 	exit 0 | ||||
| fi | ||||
|  | ||||
| [ -f /etc/profile ] && . /etc/profile | ||||
| [ -f ~/.profile ] && . ~/.profile | ||||
|  | ||||
| export EDITOR=vim | ||||
| export SHELL=/bin/bash | ||||
| export PATH="$WSCOMPAT_DIR:$PATH" | ||||
|  | ||||
| stty intr ^K | ||||
|  | ||||
| export VIMINIT="source $WSCOMPAT_DIR/.vimrc" | ||||
| cat << 'WSCOMPAT_EOF_04tcIQE7' > "$WSCOMPAT_DIR/.vimrc" | ||||
| {{ template "vimrc" . }} | ||||
| WSCOMPAT_EOF_04tcIQE7 | ||||
|  | ||||
| export INPUTRC="$WSCOMPAT_DIR/.inputrc" | ||||
| cat << 'WSCOMPAT_EOF_04tcIQE7' > "$WSCOMPAT_DIR/.inputrc" | ||||
| {{ template "inputrc" . }} | ||||
| WSCOMPAT_EOF_04tcIQE7 | ||||
|  | ||||
| export LESSKEYIN="$WSCOMPAT_DIR/.lesskey" | ||||
| cat << 'WSCOMPAT_EOF_04tcIQE7' > "$WSCOMPAT_DIR/.lesskey" | ||||
| {{ template "lesskey" . }} | ||||
| WSCOMPAT_EOF_04tcIQE7 | ||||
|  | ||||
| cat << 'WSCOMPAT_EOF_04tcIQE7' > "$WSCOMPAT_DIR/wssh" | ||||
| {{ template "wssh" . }} | ||||
| WSCOMPAT_EOF_04tcIQE7 | ||||
| chmod +x "$WSCOMPAT_DIR/wssh" | ||||
| #ln -s "$WSCOMPAT_DIR/wssh" "$WSCOMPAT_DIR/ssh" | ||||
		Reference in New Issue
	
	Block a user